Skip to content

Add stubs for CGIHTTPServer - #3196

Merged
srittau merged 2 commits into
python:masterfrom
Bouteillebleu:add-cgihttpserver-stub
Aug 19, 2019
Merged

srittau merged 2 commits into
python:masterfrom
Bouteillebleu:add-cgihttpserver-stub

Conversation

@Bouteillebleu

Copy link
Copy Markdown
Contributor

This commit adds:

This commit adds:
* Stubs for CGIHTTPServer in the Python 2 standard library, as requested in #1147.
* Stubs for six.moves.CGIHTTPServer in Python 2, as requested in #22.
Comment thread tests/mypy_selftest.py Outdated
with tempfile.TemporaryDirectory() as tempdir:
dirpath = Path(tempdir)
subprocess.run(['python2.7', '-m', 'pip', 'install', '--user', 'typing'], check=True)
subprocess.run(['/Users/bluebottle/.pyenv/versions/2.7.15/bin/python2.7', '-m', 'pip', 'install', '--user', 'typing'], check=True)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should probably undo this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do! Now fixed.

@srittau srittau left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@srittau
srittau merged commit d5a918d into python:master Aug 19, 2019
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.

3 participants