This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Sumner Hearth
Recipients Sumner Hearth, christian.heimes
Date 2017-01-04.06:05:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483509907.61.0.802720332804.issue29149@psf.upfronthosting.co.za>
In-reply-to
Content
Error in python 3.6 ssl.py:

[...]
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 737, in __init__
    self._context.verify_mode = cert_reqs
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 479, in verify_mode
    super(SSLContext, SSLContext).verify_mode.__set__(self, value)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 479, in verify_mode
    super(SSLContext, SSLContext).verify_mode.__set__(self, value)
[Repeated]

Crash is infinite recursion on super calls having to do with the verify_mode property

Crash found when creating an SSL context for eventlet with flask-socketio, unfortunately easiest way to reproduce involves installing eventlet, flask, flask-socketio, and pyopenssl. I've included the smallest working example of the crash in python 3.6, attached code works in python 3.5.

Note:
I'm attempting to create a dependency-free version of the file which exhibits the same behavior, it's tricky to unwrap all the libraries leading to the issue. See https://github.com/miguelgrinberg/Flask-SocketIO/issues/193 for original post discovering bug.
History
Date User Action Args
2017-01-04 06:05:07Sumner Hearthsetrecipients: + Sumner Hearth, christian.heimes
2017-01-04 06:05:07Sumner Hearthsetmessageid: <1483509907.61.0.802720332804.issue29149@psf.upfronthosting.co.za>
2017-01-04 06:05:07Sumner Hearthlinkissue29149 messages
2017-01-04 06:05:07Sumner Hearthcreate