[issue5006] Duplicate UTF-16 BOM if a file is open in append mode

Antoine Pitrou report at bugs.python.org
Thu Mar 26 17:55:38 CET 2009


Antoine Pitrou <pitrou at free.fr> added the comment:

As for the C version of the patch:
- I'm not sure why you make self->ok handling more complicated than it was
- encodefunc should not be forced to NULL, otherwise it will yield a big
decrease in write() performance

----------

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


More information about the Python-bugs-list mailing list