[issue7313] 2to3 fails when source file starts with BOM

2009-11-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed in r76250. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue7313] 2to3 fails when source file starts with BOM

2009-11-13 Thread Gabriel Genellina
New submission from Gabriel Genellina : If the source file is encoded in UTF-8 with a BOM, 2to3 cannot parse it: C:\APPS\python\trunk\PCbuild>.\python ..\Tools\scripts \2to3 c:\temp\test_2to3.py root: Generating grammar tables from C:\APPS\python \trunk\lib\lib2to3\PatternGrammar.txt root: Writ