-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python3: socket._fileobject removed #434
Comments
hit the same thing |
same problem here |
Having the same problem. |
+1 |
1 similar comment
+1 |
Yes, please work on fixing this. Ran through a sequence of issues, fixed them myself (and discovered the – yet unreleased – fixes later on in the respective projects: 0bad0c2, 6e5591c, pyca/pyopenssl@65627a2), but gave up after unsuccessfully attempting to use I was using Python 3.4 and PyOpenSSL 0.14. |
I've given up and succesfully switched to tornado. |
+1 |
Awesome, now I have this problem too, but have enough experience in order to know that this won't get fixed soon. |
Sorry to hear that, though now that you presumably have some motivation you might be able to figure out a good way to fix it ;) The socket module in Python 3 has changed substantially which makes fixing this quite difficult. As you shouldn't use this in production anyway I think it might make sense to consider dropping this and recommending to use gunicorn, which afaik supports SSL. |
I'm not sure, I think it's useful. #454 actually presents a solution to this. |
For context, i use this in pimutils/vdirsyncer#106 |
This is now fixed in #565 and will most likely be included in 0.10. Please note there are some API changes on advanced SSL usage. |
testcase:
First, you'll need to (trivially) work around pyopenssl's LP#1211834 (2to3 OpenSSL/tsafe.py).
If you simply 'curl https://localhost:5000':
I'd also noticed OpenSSL.SSL.Connection.makefile() is unimplemented, which is presumably the entire purpose of werkzeug.serving._SSLConnectionFix
The text was updated successfully, but these errors were encountered: