Skip to content

FIXED -> ssl module does not have an attribute wrap_socket#110

Open
NathanPerrier wants to merge 1 commit intoteddziuba:masterfrom
NathanPerrier:master
Open

FIXED -> ssl module does not have an attribute wrap_socket#110
NathanPerrier wants to merge 1 commit intoteddziuba:masterfrom
NathanPerrier:master

Conversation

@NathanPerrier
Copy link
Copy Markdown

ERROR: ssl module does not have an attribute wrap_socket

wrap_socket function has been deprecated since Python 3.7 and was removed in Python 3.10.

Fixed by usING SSLContext instead of wrap_socket

@MarvinRucinski
Copy link
Copy Markdown

Why isn't this merged?

Copy link
Copy Markdown

@ssankey3590 ssankey3590 left a comment

Choose a reason for hiding this comment

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

I have manually tested this with Python 3.13 and it works correctly.

@biosman22
Copy link
Copy Markdown

I hope someone merges this into the main branch soon
On the 14th of April 2025, I faced the same problem

@nickmccullum
Copy link
Copy Markdown

Can we please get this merged?

jrherskovic-mda added a commit to jrherskovic-mda/django-sslserver that referenced this pull request Nov 19, 2025
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.

6 participants