[Python-Dev] Decoder functions accept str in py3k
Aahz
aahz at pythoncraft.com
Wed Jan 7 19:30:34 CET 2009
On Wed, Jan 07, 2009, Antoine Pitrou wrote:
> Guido van Rossum <guido <at> python.org> writes:
>>
>> Sounds like yet another remnant of the old philosophy, which indeed
>> supported encode and decode operations on both string types.
>
> How do we go for fixing it? Is it ok to raise a TypeError in 3.0.1?
This definitely cannot be changed for 3.0.1 -- there's plenty of time to
discuss this for 3.1.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by
definition, not smart enough to debug it." --Brian W. Kernighan
More information about the Python-Dev
mailing list