[issue28774] Better start and end position for unicodeerror in unicode_encode_ucs1

Serhiy Storchaka report at bugs.python.org
Tue Nov 22 10:52:10 EST 2016


Serhiy Storchaka added the comment:

LGTM. But it is too late for beta 4. I'll commit the patch either after releasing 3.6.0 or in the 3.7 branch only.

And while we are here I noticed that handling non-ASCII replacement string could be simpler.

----------
Added file: http://bugs.python.org/file45603/unicode_encode_ucs1_error_pos2.patch

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


More information about the Python-bugs-list mailing list