Skip to content

missing 2.7 modules #531

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

Closed
matthiaskramm opened this issue Sep 10, 2016 · 4 comments · Fixed by #699
Closed

missing 2.7 modules #531

matthiaskramm opened this issue Sep 10, 2016 · 4 comments · Fixed by #699

Comments

@matthiaskramm
Copy link
Contributor

matthiaskramm commented Sep 10, 2016

The following modules have yet to be added to typeshed:

stdlib/2.7/cgi
stdlib/2.7/curses
stdlib/2.7/formatter
stdlib/2.7/htmllib
stdlib/2.7/xmlrpclib
stdlib/2.7/commands
stdlib/2.7/pstats
stdlib/2.7/cProfile
stdlib/2.7/ctypes
stdlib/2.7/SimpleHTTPServer

[edit: added items]

JelleZijlstra added a commit to JelleZijlstra/typeshed that referenced this issue Nov 23, 2016
@JelleZijlstra
Copy link
Member

We're also missing profile.

JelleZijlstra added a commit to JelleZijlstra/typeshed that referenced this issue Nov 23, 2016
Partially fixes python#531. Contrary to the Python 2.7 docs at
https://docs.python.org/2/library/profile.html#module-cProfile,
these modules do not have exactly the same interface. For
example, profile.Profile() does not have an enable() method.
JelleZijlstra added a commit to JelleZijlstra/typeshed that referenced this issue Nov 23, 2016
Partially fixes python#531. Contrary to the Python 2.7 docs at
https://docs.python.org/2/library/profile.html#module-cProfile,
these modules do not have exactly the same interface. For
example, profile.Profile() does not have an enable() method.
JukkaL pushed a commit that referenced this issue Nov 23, 2016
JelleZijlstra added a commit to JelleZijlstra/typeshed that referenced this issue Nov 26, 2016
Partially fixes python#531. Contrary to the Python 2.7 docs at
https://docs.python.org/2/library/profile.html#module-cProfile,
these modules do not have exactly the same interface. For
example, profile.Profile() does not have an enable() method.
JukkaL pushed a commit that referenced this issue Dec 1, 2016
* add stubs for Python 2 profile and cProfile

Partially fixes #531. Contrary to the Python 2.7 docs at
https://docs.python.org/2/library/profile.html#module-cProfile,
these modules do not have exactly the same interface. For
example, profile.Profile() does not have an enable() method.

* profile stubs: move to 2and3, add __init__, use private names for typevars
@gvanrossum
Copy link
Member

Not everything listed in this issue has been added yet, so reopening.

@gvanrossum gvanrossum reopened this Dec 1, 2016
@JelleZijlstra
Copy link
Member

I have stubs for pstats ready, will open a pull request soon.

JelleZijlstra added a commit to JelleZijlstra/typeshed that referenced this issue Dec 2, 2016
partially addresses python#531
gvanrossum pushed a commit that referenced this issue Dec 13, 2016
partially addresses #531
@matthiaskramm
Copy link
Contributor Author

matthiaskramm commented Apr 7, 2017

Closing in favor of #1147

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 a pull request may close this issue.

3 participants