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

Disallow Python 3 function annotations in Python 2 mode #196

Closed
JukkaL opened this issue Jul 6, 2013 · 1 comment
Closed

Disallow Python 3 function annotations in Python 2 mode #196

JukkaL opened this issue Jul 6, 2013 · 1 comment
Labels
bug mypy got something wrong

Comments

@JukkaL
Copy link
Collaborator

JukkaL commented Jul 6, 2013

Flag Python 3 function annotation in Python 2 code as an error. Stubs are an exception: they can freely use Python 3 annotation syntax for convenience, since they are never run.

@JukkaL JukkaL removed the front end label Jul 25, 2014
@gvanrossum
Copy link
Member

This will be taken care of by #1353.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug mypy got something wrong
Projects
None yet
Development

No branches or pull requests

2 participants