[Python-Dev] Decoder functions accept str in py3k

Benjamin Peterson benjamin at python.org
Wed Jan 7 18:35:06 CET 2009

On Wed, Jan 7, 2009 at 9:46 AM, Guido van Rossum <guido at python.org> wrote:
> A -3 warning should be added to 2.6 about this too IMO.

A Py3k warning when attempting to decode a unicode string? Wouldn't
that open the door to adding warnings to everywhere a unicode string
is used where a byte string is? I thought that unicode and str's
compatibility was quite intentionally not being touched until 3.0.


More information about the Python-Dev mailing list