Message359594
There are a variety of different reasons this can fail, not just on MacOS. You could give it a bad IP address of a server, etc. [That was my particular case].
The constructor should create an attribute 'socket' and initialize it to None early on. Then, the close function in logging/handlers.py should check for None. Or alternatively, it shouldn't register the object with atexit until it's been constructed "well-enough". |
|
Date |
User |
Action |
Args |
2020-01-08 13:51:35 | alanr | set | recipients:
+ alanr, vinay.sajip, ronaldoussoren, jaraco, ned.deily |
2020-01-08 13:51:35 | alanr | set | messageid: <1578491495.22.0.138187530171.issue38780@roundup.psfhosted.org> |
2020-01-08 13:51:35 | alanr | link | issue38780 messages |
2020-01-08 13:51:35 | alanr | create | |
|