Issue1768968

classification
Title: unicode bom isn't recognized to indicate unicode for parsing
Type: Severity: normal
Components: Core Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: cgroves, zyasoft
Priority: normal Keywords: test failure causes

Created on 2007-08-07.05:03:57 by cgroves, last changed 2008-09-14.01:08:07 by zyasoft.

Messages
msg1810 (view) Author: Charlie Groves (cgroves) Date: 2007-08-07.05:03:57
Python picked up the ability to have source files in various encodings in PEP 263, a feature Jython hasn't acquired yet.  As part of PEP 263, if the file starts with the Unicode BOM it should be interpreted as being in utf-8.  Jython chokes when it sees the BOM which causes several failures in test_builtin.  Those tests are commented out for now as explained in http://wiki.python.org/jython/JythonDeveloperGuide/VersionTransitionTestExclusions
msg3567 (view) Author: Jim Baker (zyasoft) Date: 2008-09-14.01:08:07
Fixed in 2.5 with r5156
Tested by test_builtin.BuiltinTest.test_compile
History
Date User Action Args
2008-09-14 01:08:07zyasoftsetstatus: open -> closed
resolution: fixed
messages: + msg3567
nosy: + zyasoft
2007-08-07 05:03:57cgrovescreate