[issue7415] PyUnicode_FromEncodedObject() uses PyObject_AsCharBuffer()

Stefan Behnel report at bugs.python.org
Fri Aug 20 22:26:54 CEST 2010


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

... and another complete patch that refactors the complete function to make it clearer what happens. Includes a small code duplication for the bytes object case, which I think it acceptable.

----------
Added file: http://bugs.python.org/file18588/unicodeobject-PyUnicode_FromEncodedObject-buffer-refactored.patch

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


More information about the Python-bugs-list mailing list