You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like Eventlet fails with AttributeError: module 'ssl' has no attribute 'wrap_socket'. This happens because of a change in Python.
From What's new:
Remove the ssl.wrap_socket() function, deprecated in Python 3.7: instead, create a ssl.SSLContext object and call its ssl.SSLContext.wrap_socket method. Any package that still uses ssl.wrap_socket() is broken and insecure. The function neither sends a SNI TLS extension nor validates server hostname. Code is subject to CWE-295: Improper Certificate Validation. (Contributed by Victor Stinner in python/cpython#94199.) eventlet/eventlet#795
The text was updated successfully, but these errors were encountered:
Main import.py has the code import eventlet
It seems like Eventlet fails with AttributeError: module 'ssl' has no attribute 'wrap_socket'. This happens because of a change in Python.
From What's new:
Remove the ssl.wrap_socket() function, deprecated in Python 3.7: instead, create a ssl.SSLContext object and call its ssl.SSLContext.wrap_socket method. Any package that still uses ssl.wrap_socket() is broken and insecure. The function neither sends a SNI TLS extension nor validates server hostname. Code is subject to CWE-295: Improper Certificate Validation. (Contributed by Victor Stinner in python/cpython#94199.)
eventlet/eventlet#795
The text was updated successfully, but these errors were encountered: