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 xnox
Recipients christian.heimes, xnox
Date 2018-09-27.09:07:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1538039231.16.0.545547206417.issue34818@psf.upfronthosting.co.za>
In-reply-to
Content
test.test_ssl.ThreadedTests.test_tls1_3 fails in 2.7 with AttributeError: __exit__

When building python 2.7, update to 20180926 from the 2.7 branch, on Ubuntu 18.10 (cosmic) with OpenSSL 1.1.1 the test_ssl errors out like so:

======================================================================
ERROR: test_tls1_3 (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/test/test_ssl.py", line 2815, in test_tls1_3
    with context.wrap_socket(socket.socket()) as s:
AttributeError: __exit__

Distribution issue https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1759172
History
Date User Action Args
2018-09-27 09:07:11xnoxsetrecipients: + xnox, christian.heimes
2018-09-27 09:07:11xnoxsetmessageid: <1538039231.16.0.545547206417.issue34818@psf.upfronthosting.co.za>
2018-09-27 09:07:11xnoxlinkissue34818 messages
2018-09-27 09:07:10xnoxcreate