[issue1069] invalid file encoding results in SyntaxError: None

2007-08-31 Thread Georg Brandl

New submission from Georg Brandl:

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.

--
assignee: loewis
files: x.py
keywords: py3k
messages: 55527
nosy: georg.brandl, loewis
severity: normal
status: open
title: invalid file encoding results in SyntaxError: None
type: behavior
versions: Python 3.0

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1069
__# -*- coding: utf-8 -*-
ä
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1069] invalid file encoding results in SyntaxError: None

2007-08-31 Thread Martin v. Löwis

Martin v. Löwis added the comment:

This is now fixed in r57838.

--
resolution:  - fixed
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1069
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com