]> granicus.if.org Git - python/commit
Issue #5006: Better handling of unicode byte-order marks (BOM) in the io library.
authorAntoine Pitrou <solipsis@pitrou.net>
Thu, 14 May 2009 18:55:55 +0000 (18:55 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Thu, 14 May 2009 18:55:55 +0000 (18:55 +0000)
commite450185b4ad645d4f72cbd4b2139d6a987edc84d
treed588925c1710f0404f9ac61058a79a5b33382408
parentb565577aa722d8b39aa42da0384f776680c03c36
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/_pyio.py
Lib/test/test_io.py
Misc/NEWS
Modules/_io/_iomodule.c
Modules/_io/_iomodule.h
Modules/_io/textio.c