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.

Author schlamar
Recipients BreamoreBoy, benjamin.peterson, miwa, schlamar, vstinner
Date 2014-03-21.07:52:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1395388377.13.0.706559359983.issue20844@psf.upfronthosting.co.za>
In-reply-to
Content
I can reproduce this one. There are a few conditions which needs to be met:

- Linux line endings 
- File needs to have at least x lines (empty lines are fine). I guess this is the point why no one could reproduce it. The attached file has 19 lines but probably no one copy/pasted the empty lines. Downloading the file reproduces this in my case. The length of the encoding declaration is relevant to the number of required newlines. `#coding:latin-1` fails at a file with 19 lines, `#coding: latin-1` (whitespace added) requires 20 lines.

More observations:

- Also reproducible if utf8 is used as alias for utf-8 (`#coding: utf8` + 17 lines), but not reproducible with utf-8  
- Python 3.4 is affected, too
- No issues on Python 3.3.2
History
Date User Action Args
2014-03-21 07:52:57schlamarsetrecipients: + schlamar, vstinner, benjamin.peterson, miwa, BreamoreBoy
2014-03-21 07:52:57schlamarsetmessageid: <1395388377.13.0.706559359983.issue20844@psf.upfronthosting.co.za>
2014-03-21 07:52:57schlamarlinkissue20844 messages
2014-03-21 07:52:56schlamarcreate