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

Antoine Pitrou report at bugs.python.org
Sat Mar 28 19:07:15 CET 2009


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

It's better now, although I think it's not good to duplicate the
encoding switch logic. It would be better to have a separate flag
indicate whether it's the start of stream or not. I'm gonna produce a
new patch, unless you beat me to it.

Also, I'm adding Amaury to the nosy list so that he tells us whether he
thinks the approach is sound.

----------
nosy: +amaury.forgeotdarc

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


More information about the Python-bugs-list mailing list