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 armicron
Recipients Paul.Bonser, armicron, benjamin.peterson
Date 2013-09-06.16:57:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
-cookie_re = re.compile("coding[:=]\s*([-\w.]+)")
+cookie_re = re.compile("#[^\r\n]*coding[:=]\s*([-\w.]+)")

Regex matches only if the encoding expression is preceded by a comment.
Date User Action Args
2013-09-06 16:57:02armicronsetrecipients: + armicron, benjamin.peterson, Paul.Bonser
2013-09-06 16:57:02armicronsetmessageid: <>
2013-09-06 16:57:02armicronlinkissue18873 messages
2013-09-06 16:57:02armicroncreate