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 vstinner
Recipients ezio.melotti, flox, vstinner
Date 2012-06-04.23:06:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1338851162.37.0.105160227229.issue14990@psf.upfronthosting.co.za>
In-reply-to
Content
The patch is correct according to the PEP 263:

    If a source file uses both the UTF-8 BOM mark signature and a
    magic encoding comment, the only allowed encoding for the comment
    is 'utf-8'.  Any other encoding will cause an error.

The fix should also be applied to 3.2.

(Note: Python 3.1 doesn't accept bugfixes anymore.)
History
Date User Action Args
2012-06-04 23:06:02vstinnersetrecipients: + vstinner, ezio.melotti, flox
2012-06-04 23:06:02vstinnersetmessageid: <1338851162.37.0.105160227229.issue14990@psf.upfronthosting.co.za>
2012-06-04 23:06:01vstinnerlinkissue14990 messages
2012-06-04 23:06:01vstinnercreate