mypy gets confused by double coding cookie · Issue #1281 · python/mypy (original) (raw)
When a file has two different coding cookies (one in line 1, one in line 2) mypy gets confused and uses the cookie from the second line. It should use the first.
Low priority; I found this by accident and the new parser will presumably make this go away.