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, serhiy.storchaka, vstinner
Date 2016-03-17.12:00:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
When Python source file contains double coding cookies on different lines, the first wins. When it contains double coding cookies on the same line, the last wins.

PEP 263 was sufficiently vague about this. Now this is clarified (22490711c870). The first coding cookie should always win.

Proposed patch fixes Python tokenizer, the tokenize module, and other places. Tests are taken from issue25643.
Date User Action Args
2016-03-17 12:00:36serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, vstinner
2016-03-17 12:00:36serhiy.storchakasetmessageid: <>
2016-03-17 12:00:36serhiy.storchakalinkissue26581 messages
2016-03-17 12:00:35serhiy.storchakacreate