A RetroSearch Logo

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

Search Query:

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

[Python-Dev] Easy codec access

[Python-Dev] Easy codec access [Python-Dev] Easy codec accessskip@pobox.com (Skip Montanaro) skip@pobox.com (Skip Montanaro)
Wed, 16 May 2001 12:44:15 -0500
    mal> Still their basic task is to take an object and encode in some way
    mal> for dumps() and do the reverse for loads().  That's pretty much
    mal> what codecs normally do ;-)

Yes, I see that.  The conceptual problem I have is that in all previous
examples I've seen here they have taken as input and returned as outputs
only strings or unicode objects.

    mal> These two are very useful though when it comes to using codecs
    mal> for file wrappers:

This use I missed.  Thanks for the explanation.

Skip



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