[New-bugs-announce] [issue6373] SystemError in encoder

Glynn Clements report at bugs.python.org
Mon Jun 29 17:31:25 CEST 2009


New submission from Glynn Clements <glynn at 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 <report at bugs.python.org>
<http://bugs.python.org/issue6373>
_______________________________________


More information about the New-bugs-announce mailing list