Serhiy Storchaka <storch...@gmail.com> added the comment:

> So this adjustment is necessary because the *input* may change in the 
> callback,
> not because the output may change. So the comment in decode_utf8_errors seems
> just as wrong.

You're right, and my eyes in a lather. Now I saw it.

What you have to offer any comment? If someone would correct a comment
for decode_utf8_errors, I just copied it.

> Why this is relevant to this issue, is unclear to me, though: the ignore 
> handler
> doesn't modify the input object.

I first got the crash using a custom handler, and then I saw that
"ignore" handler is enough. Even if the "ignore" handler does not have
to change the input object, other handlers can do it and this is the
reason for the crash remains.

----------

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

Reply via email to