[issue7415] PyUnicode_FromEncodedObject() uses PyObject_AsCharBuffer()

Stefan Behnel report at bugs.python.org
Fri Aug 20 22:04:43 CEST 2010


Stefan Behnel <scoder at users.sourceforge.net> added the comment:

Regardless of the answer, I think Antoine is right, special cases aren't special enough to break the rules, and this is a special case that's more safely handled as part of the normal buffer case.

Updated patch uploaded.

----------
Added file: http://bugs.python.org/file18587/unicodeobject-PyUnicode_FromEncodedObject-buffer2.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7415>
_______________________________________


More information about the Python-bugs-list mailing list