]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #12983: Bytes literals with invalid \x escape now raise a SyntaxError
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 10 Feb 2013 15:36:00 +0000 (17:36 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Sun, 10 Feb 2013 15:36:00 +0000 (17:36 +0200)
commit5e61f14c6dd29982da9364696bc864604b143a66
tree7af9b9389674a1d50caa01a9154bc919697bd6d5
parentbe5f91957f3d553a7cbbfdc43f66a3b30bb97aec
Issue #12983: Bytes literals with invalid \x escape now raise a SyntaxError
and a full traceback including line number.
Lib/test/test_strlit.py
Misc/NEWS
Objects/bytesobject.c
Python/ast.c