Comment 14 for bug 1833160

Revision history for this message
Ryan Liang (ryan-liang) wrote :

I wrote a sample code with `eventlet`, `urllib` and `python37`: https://gist.github.com/Murray-LIANG/9b506d98cf76d633a9d0e82f2bb5ece5

It raises the same exception as reported by this bug:
    TypeError: wrap_socket() got an unexpected keyword argument '_context'

And the sample code is like the one in netapp dataontap driver (manila/share/drivers/netapp/dataontap/client/api.py).
Both of them use `urllib.request.HTTPBasicAuthHandler` to open requests.

I have no netapp device, so I can't figure out how netapp dataontap driver works around this issue.

The environment I am using:
Python 3.7.2, 3.7.3 and 3.7.4
eventlet==0.25.0
six==1.12.0