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

STINNER Victor report at bugs.python.org
Tue Jun 8 23:23:23 CEST 2010


New submission from STINNER Victor <victor.stinner at haypocalc.com>:

"z" is supposed to be the same format than "s" but accepts None.... Except that "z" does also accept bytes. I suppose that "s" was "fixed" between Python2 and Python3, but "z" is not fixed yet.

I think that it can be fixed in Python 3.2 without any deprecation process.

----------
components: Interpreter Core
messages: 107351
nosy: haypo
priority: normal
severity: normal
status: open
title: PyArg_Parse*(): "z" should not accept bytes
versions: Python 3.2

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


More information about the Python-bugs-list mailing list