Eric V. Smith <e...@trueblade.com> added the comment:

I agree the error message could be better. Also, "s.error('bad escape %s' % 
this, len(this))" should probably be "from None", since as @mrabarnett notes 
the KeyError is an implementation detail.

----------

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

Reply via email to