Skip to content

Conversation

@Lucidiot
Copy link
Contributor

The ssl.wrap_socket function was deprecated in Python 3.7 and removed in Python 3.12, with SSLContext.wrap_socket being the new recommended function. It does the same thing, but with more options.

I found out about this removal since the tilde.town migration from Ubuntu 22.04 to Debian testing upgraded Python from 3.10 to 3.13 and a poor bot stopped working when SSL was enabled.

The `ssl.wrap_socket` function was deprecated in Python 3.7 and removed in Python 3.12, with `SSLContext.wrap_socket` being the new recommended function. It does the same thing, but with more options.
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.

1 participant