[issue26581] Double coding cookie

Serhiy Storchaka report at bugs.python.org
Sat Mar 19 11:26:20 EDT 2016


Serhiy Storchaka added the comment:

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.

----------
nosy: +lemburg, loewis

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26581>
_______________________________________


More information about the Python-bugs-list mailing list