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 serhiy.storchaka
Recipients gvanrossum, lemburg, loewis, serhiy.storchaka, vstinner
Date 2016-03-19.15:26:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I just tested with Emacs, and it looks that when specify different codings on two different lines, the first coding wins, but when specify different codings on the same line, the last coding wins.

Therefore current CPython behavior can be correct, and the regular expression in PEP 263 should be changed to use greedy repetition.
Date User Action Args
2016-03-19 15:26:20serhiy.storchakasetrecipients: + serhiy.storchaka, lemburg, gvanrossum, loewis, vstinner
2016-03-19 15:26:20serhiy.storchakasetmessageid: <>
2016-03-19 15:26:20serhiy.storchakalinkissue26581 messages
2016-03-19 15:26:19serhiy.storchakacreate