[issue8307] test_pep263 failure on OS X

Ned Deily report at bugs.python.org
Sun Apr 4 01:23:12 CEST 2010


Ned Deily <nad at acm.org> added the comment:

For the record, the problem here isn't new to trunk and is not limited to OS X 10.6; it's the test that's new.  It's not a problem for py3k where, as expected, the locale is always set and it seems the tokenizer is a little smarter:

Python 3.2a0 (py3k, Apr  3 2010, 16:02:28) 
[GCC 4.2.1 (Apple Inc. build 5646) (dot 1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> eval(b'\xff\x20')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<string>", line 1
    � 
    ^
SyntaxError: invalid character in identifier

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8307>
_______________________________________


More information about the Python-bugs-list mailing list