[issue2551186] Python versions >= 3.3 no longer use socker.sslerror
Andrew <[email protected]> Tue, 04 Jan 2022 18:15:12 +0000
| Newsgroups | gmane.comp.bug-tracking.roundup.devel |
|---|---|
| Message-ID | <[email protected]> |
New submission from Andrew: The mailgw.py file attempts to catch the socket.sslerror, which is no longer present in python 3.3 and on: https://docs.python.org/3/library/ssl.html#ssl.SSLError As a result attempting to use mailgw.py will throw an exception: AttributeError: module 'socket' has no attribute 'sslerror'. The attached simple patch fixes the issue for python3. However, this is going to end up skipping the error for python2. NOTE: I had some communication around this issue in August of 2021 via email but sadly dropped the ball. ---------- components: Mail interface files: mailgw.py.patch keywords: patch messages: 7433 nosy: kragacles severity: normal status: new title: Python versions >= 3.3 no longer use socker.sslerror type: crash versions: devel _________________________________________________ Roundup tracker <[email protected]> <https://issues.roundup-tracker.org/issue2551186> _________________________________________________