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 <1458216036.14.0.237579161127.issue26581@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-03-17 12:00:36serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, vstinner
2016-03-17 12:00:36serhiy.storchakasetmessageid: <1458216036.14.0.237579161127.issue26581@psf.upfronthosting.co.za>
2016-03-17 12:00:36serhiy.storchakalinkissue26581 messages
2016-03-17 12:00:35serhiy.storchakacreate