LittleQ added the comment:
Sorry, forgot removing the debugging __init__ method.
the attachment is the patch without the __init__ changes.
--
Added file: http://bugs.python.org/file26974/issue15249_fixed.patch
___
Python tracker
<h
LittleQ added the comment:
when ByteGenerator entered _has_surrogates() will write the payload directly by
not-enter into the super class Generator, which has the replace action.
my solution is just do it also in BytesGenerator.
--
nosy: +littleq0903
Added file: http://bugs.python.org