[RELEASED] Python 3.1 final

Nobody nobody at nowhere.com
Mon Jun 29 17:35:46 CEST 2009


On Mon, 29 Jun 2009 11:41:11 +0000, Antoine Pitrou wrote:

> Nobody <nobody <at> nowhere.com> writes:
>> 
>> This results in an internal error:
>> 
>> > "\udce4\udceb\udcef\udcf6\udcfc".encode("iso-8859-1", "surrogateescape")
>> Traceback (most recent call last):
>>   File "<stdin>", line 1, in <module>
>> SystemError: Objects/bytesobject.c:3182: bad argument to internal function
> 
> Please report a bug on http://bugs.python.org

Done.

> As for a bytes version of sys.argv and os.environ, you're welcome to propose a
> patch (this would be a separate issue on the aforementioned issue tracker).

Assuming that the above bug gets fixed, it isn't really necessary. In
particular, maintaining bytes/string versions in the presence of updates
is likely to be more trouble than it's worth. 




More information about the Python-list mailing list