[issue8592] 'y' does not check for embedded NUL bytes

STINNER Victor report at bugs.python.org
Sun Jun 13 22:06:20 CEST 2010


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

I commited a bigger patch: r81973 not only fixes "y" format, but also "u" and "Z". It does also add a lot of tests in test_getargs2.py for many string formats (not all, eg. "es" is not tested).

Even if I consider this as a bugfix, I don't want to backport to 3.1 because it might break programs which rely on this strange behaviour.

----------
resolution:  -> fixed
status: open -> closed

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


More information about the Python-bugs-list mailing list