This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author MarkIngramUK
Recipients MarkIngramUK
Date 2014-12-02.16:41:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1417538502.93.0.814458445398.issue22982@psf.upfronthosting.co.za>
In-reply-to
Content
If you open a text file for append, but then perform any form of seeking, before attempting to write to the file, it will cause the BOM to be written before you text. See the attached file for an example.

If you run the test, take a look at the output file, and you'll notice the UTF16 BOM gets written out before each number.

I'm running a 2014 iMac with Yosemite.
History
Date User Action Args
2014-12-02 16:41:42MarkIngramUKsetrecipients: + MarkIngramUK
2014-12-02 16:41:42MarkIngramUKsetmessageid: <1417538502.93.0.814458445398.issue22982@psf.upfronthosting.co.za>
2014-12-02 16:41:42MarkIngramUKlinkissue22982 messages
2014-12-02 16:41:42MarkIngramUKcreate