STINNER Victor <victor.stinner at haypocalc.com> added the comment: I opened a different issue (#5006) for the duplicate BOM in append mode. _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue4862> _______________________________________