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 Max.Cantor
Recipients Max.Cantor
Date 2013-05-22.22:43:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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.
Date User Action Args
2013-05-22 22:43:16Max.Cantorsetrecipients: + Max.Cantor
2013-05-22 22:43:16Max.Cantorsetmessageid: <>
2013-05-22 22:43:16Max.Cantorlinkissue18038 messages
2013-05-22 22:43:16Max.Cantorcreate