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

2.7 stub updates #149

Merged
merged 9 commits into from
Apr 18, 2016
Merged

2.7 stub updates #149

merged 9 commits into from
Apr 18, 2016

Conversation

bdarnell
Copy link
Contributor

The first commit is just a bunch of stubgen'd modules; the others are more interesting. In some cases there were py3 stubs that could have been copied over but I didn't want to have to audit everything for API differences between the versions.

These changes get tornado passing under mypy --py2

Cookie
email._parseaddr
email.utils
genericpath
linecache
mimetypes
multiprocessing
multiprocessing.process
multiprocessing.util
posixpath
quopri
runpy
weakref
wsgiref.validate
This function was introduced to the 2.7 series in 2.7.7.
This replaces a nearly-empty handwritten stub.
Hand-edited to remove declarations that are redundant (and cause
conflicts with) the "from _locale import *" line.
@gvanrossum gvanrossum merged commit 2ddbf90 into python:master Apr 18, 2016
momandine pushed a commit to momandine/typeshed that referenced this pull request Jul 5, 2016
momandine pushed a commit to momandine/typeshed that referenced this pull request Jul 5, 2016
Don't iterate over ellipsis in Callable when evaluating types. Fix python#149
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.

2 participants