Skip to content

Enable whole-file # type: ignore comments in Python 2.7.#7789

Merged
JukkaL merged 2 commits intopython:masterfrom
brandtbucher:whole-file-ignores-27
Oct 30, 2019
Merged

Enable whole-file # type: ignore comments in Python 2.7.#7789
JukkaL merged 2 commits intopython:masterfrom
brandtbucher:whole-file-ignores-27

Conversation

@brandtbucher
Copy link
Copy Markdown
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
Copy Markdown
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