Python versions below 3.8 are not working with eventlet.ssl

Bug #1888373 reported by Rodolfo Alonso on 2020-07-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo.service
Undecided
Unassigned

Bug Description

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  Edit
Everyone can see this information.

Other bug subscribers