]> 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:42:01 +0000 (17:42 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Sun, 10 Feb 2013 15:42:01 +0000 (17:42 +0200)
commit801d955f04d46994ac5bc7270fea86a7703c5192
treec63cdc08b7a4b1fde457b74143855d2a24fa2da5
parent6427358501ac5b5a33b1c0543b46f6d378cea7e3
parent5e61f14c6dd29982da9364696bc864604b143a66
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