Message278735
I still think something is closing your socket object. I cannot see what it is from the code you posted though. If you update the print() call, I expect you will see that it is closed, and the file descriptor is set to -1:
print("sock_err @ ", msg[1], msg[1]._closed, msg[1].fileno()) # Expect True, -1 |
|
Date |
User |
Action |
Args |
2016-10-15 21:41:29 | martin.panter | set | recipients:
+ martin.panter, GeorgeY |
2016-10-15 21:41:29 | martin.panter | set | messageid: <1476567689.8.0.9024763026.issue28447@psf.upfronthosting.co.za> |
2016-10-15 21:41:29 | martin.panter | link | issue28447 messages |
2016-10-15 21:41:29 | martin.panter | create | |
|