Message240310
| Author |
vstinner |
| Recipients |
gregory.p.smith, mcjeff, vstinner |
| Date |
2015年04月09日.08:32:18 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1428568341.01.0.429085182418.issue23863@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|