On 6/15/2013 8:03 PM, MRAB wrote:
On 15/06/2013 23:10, alex23 wrote:
\__init__.py", line 123
raise CodecRegistryError,\
^
SyntaxError: invalid syntax

To me that traceback looks like it's Python 3 trying to run code written
for Python 2.

If that is the case, the ^ should be under the ',' (and perhaps it once was ;-). If really at the beginning of the line, then the error must be on the previous line. Even then, the examples I have tried point to the 'e' or 'raise'. Take a look in the file.

--
Terry Jan Reedy

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to