]> granicus.if.org Git - python/commit
Issue #12983: Bytes literals with invalid \x escape now raise a SyntaxError
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 10 Feb 2013 15:43:25 +0000 (17:43 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Sun, 10 Feb 2013 15:43:25 +0000 (17:43 +0200)
commitb8cbba5877df478966092ce069b6cedea8487c53
treede7fcae85c654a604265ef9f73e50c6583ad05b1
parent419d9a83d5688940b3dbb410029080ad7f2f71a8
parent801d955f04d46994ac5bc7270fea86a7703c5192
Issue #12983: Bytes literals with invalid \x escape now raise a SyntaxError
and a full traceback including line number.
Misc/NEWS
Objects/bytesobject.c
Python/ast.c