This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: invalid file encoding results in "SyntaxError: None"
Type: behavior Stage:
Components: Versions: Python 3.0
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: loewis Nosy List: georg.brandl, loewis
Priority: normal Keywords:

Created on 2007-08-31 07:08 by georg.brandl, last changed 2022-04-11 14:56 by admin. This issue is now closed.

File name Uploaded Description Edit georg.brandl, 2007-08-31 07:08
Messages (2)
msg55527 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-08-31 07:08
With attached file (which contains a single latin-1 instead of utf-8
encoded character), Python prints "SyntaxError: None" instead of a more
helpful analysis of the problem.
msg55533 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2007-08-31 11:18
This is now fixed in r57838.
Date User Action Args
2022-04-11 14:56:26adminsetgithub: 45410
2008-01-06 22:29:45adminsetkeywords: - py3k
versions: Python 3.0
2007-08-31 11:18:04loewissetstatus: open -> closed
resolution: fixed
messages: + msg55533
2007-08-31 07:08:29georg.brandlcreate