KEMBAR78
Enable whole-file # type: ignore comments in Python 2.7. by brandtbucher · Pull Request #7789 · python/mypy · GitHub
Skip to content

Conversation

brandtbucher
Copy link
Member

Fixes #7785. This was a mistake in my original PR that introduced the feature (#6830). I forgot to copy one of the changes in fastparse.py to fastparse2.py. 🙄

It's an embarrassingly simple fix. I also included a regression test for good measure.

@brandtbucher
Copy link
Member Author

@gvanrossum merged the original PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inconsistent behavior of # type: ignore for whole file between python versions

3 participants