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 file: http://bugs.python.org/file28745/parse_strlit_error.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12983>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to