As the research showed, the source of the bug is the bug in the eventlet library, while patching the ssl library in py3.7 (or newer). The eventlet has released a new version (0.26) that fixes that bug, though!
The link of the new release: https://github.com/eventlet/eventlet/releases/tag/v0.26.0 It mentions: "Fix compatibility with SSLContext usage >= Python 3.7"
I tested the 0.26 eventlet with py3.7 for requesting a https content and it worked!
As the research showed, the source of the bug is the bug in the eventlet library, while patching the ssl library in py3.7 (or newer). The eventlet has released a new version (0.26) that fixes that bug, though!
The link of the new release: https:/ /github. com/eventlet/ eventlet/ releases/ tag/v0. 26.0
It mentions: "Fix compatibility with SSLContext usage >= Python 3.7"
I tested the 0.26 eventlet with py3.7 for requesting a https content and it worked!