New submission from Glynn Clements <gl...@gclements.plus.com>: Test case:
> "\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 The line number corresponds to _PyBytes_Resize() ---------- components: Interpreter Core, Unicode messages: 89852 nosy: glynnc severity: normal status: open title: SystemError in encoder type: behavior versions: Python 3.1 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6373> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com