[RELEASED] Python 3.1 final

Antoine Pitrou solipsis at pitrou.net
Mon Jun 29 07:41:11 EDT 2009

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

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).



More information about the Python-list mailing list