Skip to content

bpo-28124: deprecate ssl.wrap_socket() #5888

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

Merged
merged 1 commit into from
Feb 27, 2018
Merged

Conversation

tiran
Copy link
Member

@tiran tiran commented Feb 25, 2018

The ssl module function ssl.wrap_socket() has been de-emphasized
and deprecated in favor of the more secure and efficient
SSLContext.wrap_socket() method.

Signed-off-by: Christian Heimes [email protected]

https://bugs.python.org/issue28124

@tiran
Copy link
Member Author

tiran commented Feb 25, 2018

IMO the documentation of 3.6 and 2.7 should be updated, too. Of course the deprecation message must be removed first.

@tiran tiran added the docs Documentation in the Doc dir label Feb 25, 2018
@tiran tiran force-pushed the bpo-28124-ssl-docs branch 2 times, most recently from 52b06eb to 26f4a26 Compare February 27, 2018 07:54
The ssl module function ssl.wrap_socket() has been de-emphasized
and deprecated in favor of the more secure and efficient
SSLContext.wrap_socket() method.

Signed-off-by: Christian Heimes <[email protected]>
@tiran
Copy link
Member Author

tiran commented Feb 27, 2018

I have removed backport to 2.7 and3.6 to prevent @miss-islington from auto-merging the commits.

@tiran tiran merged commit 90f05a5 into python:master Feb 27, 2018
@bedevere-bot
Copy link

@tiran: Please replace # with GH- in the commit message next time. Thanks!

@miss-islington
Copy link
Contributor

Thanks @tiran for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

@tiran tiran deleted the bpo-28124-ssl-docs branch February 27, 2018 08:21
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 27, 2018
The ssl module function ssl.wrap_socket() has been de-emphasized
and deprecated in favor of the more secure and efficient
SSLContext.wrap_socket() method.

Signed-off-by: Christian Heimes <[email protected]>
(cherry picked from commit 90f05a5)

Co-authored-by: Christian Heimes <[email protected]>
@bedevere-bot
Copy link

GH-5924 is a backport of this pull request to the 3.7 branch.

miss-islington added a commit that referenced this pull request Feb 27, 2018
The ssl module function ssl.wrap_socket() has been de-emphasized
and deprecated in favor of the more secure and efficient
SSLContext.wrap_socket() method.

Signed-off-by: Christian Heimes <[email protected]>
(cherry picked from commit 90f05a5)

Co-authored-by: Christian Heimes <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants