A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2001-May/014845.html below:

[Python-Dev] Easy codec access

[Python-Dev] Easy codec access [Python-Dev] Easy codec accessFredrik Lundh fredrik@effbot.org
Wed, 16 May 2001 17:07:18 +0200
skip wrote:

>     mal> pickle and marshal would also be a good to have wrapped as codecs.
> 
> Why?  They operate on much more than strings.

hypergeneralization, of course.

more candidates:

    "10".decode("int")
    "10.0".decode("float")
    "[1, 2, 3]".decode("list")
    "readme.txt".decode("file")
    "SyntaxError".decode("raise")
    (etc)

Cheers /F




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4