Chris Angelico added the comment:

Attached is a combined patch that has the new private function for 
IsIdentifier, method 4's error handling change, and a bit of glue in the middle 
to make use of it. The result is a passing test suite (bar test_site which was 
already failing on my system) and a caret that points to the errant Unicode 
character, or the beginning of the identifier if it's a decode problem.

----------
Added file: http://bugs.python.org/file43819/combined.patch

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

Reply via email to