[issue7415] PyUnicode_FromEncodedObject() uses PyObject_AsCharBuffer()

Antoine Pitrou report at bugs.python.org
Fri Aug 20 20:37:04 CEST 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

I think the bytearray special-casing should be removed. Otherwise one can reallocate the buffer in another thread while it is being used for decoding.

----------
nosy: +pitrou
versions:  -Python 2.7

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


More information about the Python-bugs-list mailing list