[issue27582] Mispositioned SyntaxError caret for unknown code points

Chris Angelico report at bugs.python.org
Thu Jul 21 12:33:21 EDT 2016


Chris Angelico added the comment:

Hmm, that'd be curious. The code to do that is actually pretty simple - see attached patch - but actually using that to affect error messages is a bit harder. Is it safe to mess with tok->start?

----------
Added file: http://bugs.python.org/file43818/where-did-that-error-come-from.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27582>
_______________________________________


More information about the Python-bugs-list mailing list