STINNER Victor added the comment:

> Aaron: Your version of the fix immediately returns None, while Victor’s tries 
> to encode an empty string (if I understand it correctly).

Aaron patch is better. I misunderstood the code. reset() always return None, 
the empty string is unused in my patch.

fix-multibytecodec-segfault.patch: please write a _new_ test mentionning this 
issue to check for non regression.

----------

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

Reply via email to