[issue21789] Broken link to PEP 263 in Python 2.7 error message

Marc-Andre Lemburg report at bugs.python.org
Tue Jun 17 15:04:50 CEST 2014


Marc-Andre Lemburg added the comment:

On 17.06.2014 15:03, M.-A. Lemburg wrote:
> On 17.06.2014 15:00, Jan Varho wrote:
>>
>> 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.
> 
> Are you sure ? The links works for me.

Ah, sorry. The links does work, but doesn't redirect to the
correct PEP.

> BTW: This is more a case for a python.org bug report than one
> for Python itself.

----------

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


More information about the Python-bugs-list mailing list