[issue8839] PyArg_ParseTuple(): remove "t# format

STINNER Victor report at bugs.python.org
Wed Jun 9 01:02:03 CEST 2010


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

> t# was meant to provide access to text data, so replacing it with a
> parser code that is meant for binary data is not correct. The
> closes Python3 gets to t# from Python2 is s# or s*, so please use
> those in the NEWS entry and s* in charbuffer_encode().

Done. Patch commited as r81854 in 3.2: it removes also codecs.charbuffer_encode(). Commit blocked in 3.1 (r81855).

----------

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


More information about the Python-bugs-list mailing list