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 <rep...@bugs.python.org>
<http://bugs.python.org/issue26581>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to