[pypy-issue] [issue1667] py3k: invalid encoding validation

Armin Rigo tracker at bugs.pypy.org
Fri Jan 3 18:26:22 CET 2014


Armin Rigo <armin.rigo at gmail.com> added the comment:

exec and eval() have the reverse issue when comparing CPython 2.x (first) with
PyPy 2.x (last):

>>> eval("5 #\x00")
TypeError: expected string without null bytes

>>>> eval("5 #\x00")
5

----------
nosy: +arigo
status: unread -> chatting

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1667>
________________________________________


More information about the pypy-issue mailing list