[issue21789] Broken link to PEP 263 in Python 2.7 error message
Jan Varho
report at bugs.python.org
Tue Jun 17 15:00:08 CEST 2014
New submission from Jan Varho:
When trying to run a file with non-ASCII symbols without declaring an encoding, python 2.7 gives the following error:
File "foo.py", line 2
SyntaxError: Non-ASCII character '\xc3' in file fo.py on line 2, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
That link is broken, however. The attached patch fixes the link.
Python 3 (.4) has the correct link already.
----------
files: 0001-Fix-link-to-PEP-263-in-encoding-error-message.patch
keywords: patch
messages: 220821
nosy: otus
priority: normal
severity: normal
status: open
title: Broken link to PEP 263 in Python 2.7 error message
versions: Python 2.7
Added file: http://bugs.python.org/file35670/0001-Fix-link-to-PEP-263-in-encoding-error-message.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21789>
_______________________________________
More information about the Python-bugs-list
mailing list