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 ammar2
Recipients Jim Fasarakis-Hilliard, ammar2, sgrantham
Date 2017-01-10.17:58:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484071097.33.0.954327019688.issue29226@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for the link Jim, looks like my googling skills are a bit amiss.

I believe the reason the matching allows "encoding" is because a recommended format in the documentation is:

# vim:fileencoding=<encoding-name>

I think changing the behavior of the matching to be stricter and only match on "coding:" could result in breakages of such lines. Instead I think the error thrown could be more descriptive since I don't think it's too helpful.
History
Date User Action Args
2017-01-10 17:58:17ammar2setrecipients: + ammar2, Jim Fasarakis-Hilliard, sgrantham
2017-01-10 17:58:17ammar2setmessageid: <1484071097.33.0.954327019688.issue29226@psf.upfronthosting.co.za>
2017-01-10 17:58:17ammar2linkissue29226 messages
2017-01-10 17:58:17ammar2create