This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients loewis, pitrou
Date 2010-05-01.18:04:33
SpamBayes Score 0.00125171
Marked as misclassified No
Message-id <>
The documentation for the 'y' format (PyArg_ParseTuple and friends) states that:

« The bytes object must not contain embedded NUL bytes; if it does, a TypeError exception is raised. »

But, reading Python/getargs.c, the strlen() check is actually missing in the code for 'y'.
Date User Action Args
2010-05-01 18:04:35pitrousetrecipients: + pitrou, loewis
2010-05-01 18:04:35pitrousetmessageid: <>
2010-05-01 18:04:33pitroulinkissue8592 messages
2010-05-01 18:04:33pitroucreate