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/2010-June/100524.html below:

[Python-Dev] Reintroduce or drop completly hex, bz2, rot13, ... codecs

[Python-Dev] Reintroduce or drop completly hex, bz2, rot13, ... codecsVictor Stinner victor.stinner at haypocalc.com
Wed Jun 9 14:18:44 CEST 2010
Le mercredi 09 juin 2010 10:41:29, M.-A. Lemburg a écrit :
> No, .transform() and .untransform() will be interface to same-type
> codecs, i.e. ones that convert bytes to bytes or str to str. As with
> .encode()/.decode() these helper methods also implement type safety
> of the return type.

What about buffer compatible objects like array.array(), memoryview(), etc.? 
Should we use codecs.encode() / codecs.decode() for these types?

-- 
Victor Stinner
http://www.haypocalc.com/
More information about the Python-Dev mailing list

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