[issue8949] PyArg_Parse*(): "z" should not accept bytes

STINNER Victor report at bugs.python.org
Wed Jun 9 14:02:06 CEST 2010


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

Le mercredi 09 juin 2010 13:06:53, vous avez écrit :
> "s" accepts bytes via the buffer interface

No. "s*" and "s#" do accept any buffer compatible object (including bytes and 
bytearray), but "s" doesn't.

I fixed recently the documentation about that.

----------

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


More information about the Python-bugs-list mailing list