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/file26973/issue15249.patch

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

Reply via email to