Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Oct 30, 2019
Merged

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

merged 2 commits into from
Oct 30, 2019

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