[issue18038] Unhelpful error message on invalid encoding specification

2013-06-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 19bc00996e74 by R David Murray in branch '3.3': #18038: Use non-deprecated assert names in tests. http://hg.python.org/cpython/rev/19bc00996e74 New changeset 29e7f6a2dc0d by R David Murray in branch 'default': Null merge #18038: Use non-deprecated a

[issue18038] Unhelpful error message on invalid encoding specification

2013-06-09 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue18038] Unhelpful error message on invalid encoding specification

2013-06-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 15aa786b723b by Serhiy Storchaka in branch '3.3': Issue #18038: SyntaxError raised during compilation sources with illegal http://hg.python.org/cpython/rev/15aa786b723b New changeset 39e2f0059ee2 by Serhiy Storchaka in branch 'default': Issue #18038

[issue18038] Unhelpful error message on invalid encoding specification

2013-06-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18038] Unhelpful error message on invalid encoding specification

2013-05-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file30345/tokenizer_encoding_problem_msg.patch ___ Python tracker ___ ___

[issue18038] Unhelpful error message on invalid encoding specification

2013-05-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a better patch with tests (see also issue18048). -- Added file: http://bugs.python.org/file30358/tokenizer_encoding_problem_msg.patch ___ Python tracker

[issue18038] Unhelpful error message on invalid encoding specification

2013-05-24 Thread Martin v . Löwis
Martin v. Löwis added the comment: LGTM. -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue18038] Unhelpful error message on invalid encoding specification

2013-05-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch. -- components: +Interpreter Core, Unicode -Library (Lib) keywords: +patch nosy: +ezio.melotti, serhiy.storchaka stage: -> patch review versions: +Python 3.3, Python 3.4 Added file: http://bugs.python.org/file30345/tokenizer_encoding_

[issue18038] Unhelpful error message on invalid encoding specification

2013-05-22 Thread Max Cantor
New submission from Max Cantor: When you specify a nonexistent encoding at the top of a file, like so for example: # -*- coding: fakefakefoobar -*- The following exception occurs: SyntaxError: encoding problem: with BOM This is very unhelpful, especially in cases where you might have made a