Python versions below 3.8 are not working with eventlet.ssl

Bug #1888373 reported by Rodolfo Alonso
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
oslo.service
New
Undecided
Unassigned

Bug Description

Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

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:
(<class 'eventlet.green.ssl.GreenSSLSocket'>, <class 'ssl.SSLSocket'>, <class 'socket.socket'>, <class '_socket.socket'>, <class 'object'>)

py36:
(<class 'eventlet.green.ssl.GreenSSLSocket'>, <class 'ssl.SSLSocket'>, <class 'eventlet.greenio.base.GreenSocket'>, <class 'object'>)

In py36, the instance of the class GreenSSLSocket, do not inherit from socket.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.