[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 assert names in tests.
http://hg.python.org/cpython/rev/29e7f6a2dc0d

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18038
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: SyntaxError raised during compilation sources with illegal
http://hg.python.org/cpython/rev/39e2f0059ee2

New changeset 570b5b4040b1 by Serhiy Storchaka in branch '2.7':
Issue #18038: SyntaxError raised during compilation sources with illegal
http://hg.python.org/cpython/rev/570b5b4040b1

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18038
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18038] Unhelpful error message on invalid encoding specification

2013-06-09 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
resolution:  - fixed
stage: patch review - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18038
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18038] Unhelpful error message on invalid encoding specification

2013-06-08 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
assignee:  - serhiy.storchaka

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18038
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 rep...@bugs.python.org
http://bugs.python.org/issue18038
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 rep...@bugs.python.org
http://bugs.python.org/issue18038
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18038] Unhelpful error message on invalid encoding specification

2013-05-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


Removed file: 
http://bugs.python.org/file30345/tokenizer_encoding_problem_msg.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18038
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 typo in 
the encoding.

--
components: Library (Lib)
messages: 189840
nosy: Max.Cantor
priority: normal
severity: normal
status: open
title: Unhelpful error message on invalid encoding specification
type: behavior
versions: Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18038
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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_problem_msg.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18038
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com