Message261909
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:36 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, gvanrossum, vstinner |
2016-03-17 12:00:36 | serhiy.storchaka | set | messageid: <1458216036.14.0.237579161127.issue26581@psf.upfronthosting.co.za> |
2016-03-17 12:00:36 | serhiy.storchaka | link | issue26581 messages |
2016-03-17 12:00:35 | serhiy.storchaka | create | |
|