消息 [240310]
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. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2015-04-09 08:32:21 | vstinner | 修改 | recipients:
+ vstinner, gregory.p.smith, mcjeff |
| 2015-04-09 08:32:21 | vstinner | 修改 | messageid: <1428568341.01.0.429085182418.issue23863@psf.upfronthosting.co.za> |
| 2015-04-09 08:32:20 | vstinner | 链接 | issue23863 messages |
| 2015-04-09 08:32:20 | vstinner | 创建 | |
|