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

Thanks

Antoine.


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to