Benjamin Peterson added the comment:
LGTM
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12983
___
___
Python-bugs-list mailing list
Roundup Robot added the comment:
New changeset 305210a08fc9 by Serhiy Storchaka in branch '3.2':
Issue #12983: Bytes literals with invalid \x escape now raise a SyntaxError
http://hg.python.org/cpython/rev/305210a08fc9
New changeset d5b731446a91 by Serhiy Storchaka in branch '3.3':
Issue
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12983
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12983
___
___
Serhiy Storchaka added the comment:
Ping.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12983
___
___
Python-bugs-list mailing list
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12983
___
___
Serhiy Storchaka added the comment:
Here is a patch which include position number in the invalid bytes exception,
wrap it into SyntaxError, and adds tests for bytes and strings.
--
keywords: +patch
nosy: +serhiy.storchaka
stage: test needed - patch review
versions: +Python 3.4
Added
Changes by Evgeny Kapun abacabadabac...@gmail.com:
--
nosy: +abacabadabacaba
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12983
___
___
New submission from Ned Deily n...@acm.org:
In behavior carried over from Python 2 string literals, Python 3 byte string
literals raise a less helpful ValueError exception when an invalid hex escape
code is given:
x = b'\x0'
ValueError: invalid \x escape
A string literal raises a
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12983
___
10 matches
Mail list logo