]> granicus.if.org Git - python/commit
Issue #5006: Better handling of unicode byte-order marks (BOM) in the io
authorVictor Stinner <victor.stinner@haypocalc.com>
Wed, 28 Jul 2010 01:58:41 +0000 (01:58 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Wed, 28 Jul 2010 01:58:41 +0000 (01:58 +0000)
commit8243ddb6ca5c0f78764a28f044f0c0284774d317
treeca6b3fc1c3b76df1ebd7b0a4d575dd49470f4b56
parent082a65ab1fd8c54df7a128d0e813061db9bfbba8
Issue #5006: Better handling of unicode byte-order marks (BOM) in the io
library. This means, for example, that opening an UTF-16 text file in append
mode doesn't add a BOM at the end of the file if the file isn't empty.
Lib/io.py
Lib/test/test_io.py
Misc/NEWS