Fix Bug #1378022, UTF-8 files with a leading BOM crashed the interpreter.

Needs backport.
This commit is contained in:
Neal Norwitz 2005-12-18 05:29:30 +00:00
parent e7214a130b
commit db83eb3170
5 changed files with 19 additions and 2 deletions

2
Lib/test/bad_coding2.py Normal file
View file

@ -0,0 +1,2 @@
#coding: utf8
print ''