Roundup Tracker - Issues

Message7433

Author kragacles
Recipients kragacles
Date 2022-01-04.18:15:11
Message-id <1641320112.24.0.358559887128.issue2551186@roundup.psfhosted.org>
In-reply-to
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.
History
Date User Action Args
2022-01-04 18:15:12kragaclessetrecipients: + kragacles
2022-01-04 18:15:12kragaclessetmessageid: <1641320112.24.0.358559887128.issue2551186@roundup.psfhosted.org>
2022-01-04 18:15:12kragacleslinkissue2551186 messages
2022-01-04 18:15:12kragaclescreate