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 serhiy.storchaka
Recipients eryksun, martin.panter, serhiy.storchaka, svenberkvens
Date 2015-11-20.11:34:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1448019256.08.0.74361821982.issue25678@psf.upfronthosting.co.za>
In-reply-to
Content
Could you backport full patch, with tests? And compile() is affected too:

>>> compile(buffer("123\0test", 1, 2), '', 'exec')
<code object <module> at 0xb70c5800, file "", line 1>
>>> compile(buffer("123test", 1, 2), '', 'exec')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: compile() expected string without null bytes
History
Date User Action Args
2015-11-20 11:34:16serhiy.storchakasetrecipients: + serhiy.storchaka, svenberkvens, martin.panter, eryksun
2015-11-20 11:34:16serhiy.storchakasetmessageid: <1448019256.08.0.74361821982.issue25678@psf.upfronthosting.co.za>
2015-11-20 11:34:16serhiy.storchakalinkissue25678 messages
2015-11-20 11:34:16serhiy.storchakacreate