Message240310
Ok, since you look to want to fix Python 2.7, I can help you to handle EINTR in socket.connect() since I fixed Python 3.5.
If Python 2.7 is fixed, Python 3.4 should also be fixed.
connect_eintr-py27.patch: Patch for Python 2.7 to handle EINTR in socket.connect() for blocking socket or socket with a timeout. The patch calls select() to wait until the connection completes or fails.
Use attached test_connect_eintr4.py to test it.
I only tested my patch on Linux yet. |
|
Date |
User |
Action |
Args |
2015-04-09 08:32:21 | vstinner | set | recipients:
+ vstinner, gregory.p.smith, mcjeff |
2015-04-09 08:32:21 | vstinner | set | messageid: <1428568341.01.0.429085182418.issue23863@psf.upfronthosting.co.za> |
2015-04-09 08:32:20 | vstinner | link | issue23863 messages |
2015-04-09 08:32:20 | vstinner | create | |
|