Skip to content

imaplib.pyi: Add ssl_context parameter for Python >= 3.3#3310

Merged
srittau merged 3 commits intopython:masterfrom
utkarsh2102:ssl_context
Oct 6, 2019
Merged

imaplib.pyi: Add ssl_context parameter for Python >= 3.3#3310
srittau merged 3 commits intopython:masterfrom
utkarsh2102:ssl_context

Conversation

@utkarsh2102
Copy link
Contributor

Python 3.3 onward, ssl_context was added; documented here.

Fixes: #3289 (the second part of the issue!)

@utkarsh2102 utkarsh2102 force-pushed the ssl_context branch 2 times, most recently from 577a331 to a784083 Compare October 6, 2019 12:11
@utkarsh2102
Copy link
Contributor Author

utkarsh2102 commented Oct 6, 2019

Hey @srittau,
How do I go on solving: Name 'ssl' is not defined?

The fix should be simple; feels like I am missing something obvious :/

@srittau
Copy link
Collaborator

srittau commented Oct 6, 2019

Just use SSLContext. No need to prefix it with ssl.

@srittau srittau merged commit 717cd1f into python:master Oct 6, 2019
@utkarsh2102 utkarsh2102 deleted the ssl_context branch October 9, 2019 20:08
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.

errors in imaplib.pyi

2 participants