]> granicus.if.org Git - python/commit
Backport r54786:
authorWalter Dörwald <walter@livinglogic.de>
Sat, 21 Apr 2007 10:31:43 +0000 (10:31 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Sat, 21 Apr 2007 10:31:43 +0000 (10:31 +0000)
commit93a3603c671894c1b5479c36464c9bf52efa0aba
treeeda94257f9cb0829f8316ffaab0964ac436d4858
parent552ba11085cc56a53c51888cd86a30fa69491df3
Backport r54786:
Fix utf-8-sig incremental decoder, which didn't recognise a BOM when the
first chunk fed to the decoder started with a BOM, but was longer than 3 bytes.
Lib/encodings/utf_8_sig.py
Lib/test/test_codecs.py
Misc/NEWS