Python versions below 3.8 are not working with eventlet.ssl
Bug #1888373 reported by
Rodolfo Alonso
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.service |
New
|
Undecided
|
Unassigned |
Bug Description
Eventlet SSL module initializes the same object type differently depending on the Python version.
To post a comment you must log in.
Adding a break point just before the failing point reported in the snippet, this is the MRO of the objects, depending on the version:
py38: green.ssl. GreenSSLSocket' >, <class 'ssl.SSLSocket'>, <class 'socket.socket'>, <class '_socket.socket'>, <class 'object'>)
(<class 'eventlet.
py36: green.ssl. GreenSSLSocket' >, <class 'ssl.SSLSocket'>, <class 'eventlet. greenio. base.GreenSocke t'>, <class 'object'>)
(<class 'eventlet.
In py36, the instance of the class GreenSSLSocket, do not inherit from socket.