Author Max.Cantor
Recipients Max.Cantor
Date 2013-05-22.22:43:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1369262596.73.0.912726466313.issue18038@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-05-22 22:43:16Max.Cantorsetrecipients: + Max.Cantor
2013-05-22 22:43:16Max.Cantorsetmessageid: <1369262596.73.0.912726466313.issue18038@psf.upfronthosting.co.za>
2013-05-22 22:43:16Max.Cantorlinkissue18038 messages
2013-05-22 22:43:16Max.Cantorcreate