[issue20611] socket.create_connection() doesn't handle EINTR properly

2014-05-29 Thread Syou Ei
Syou Ei added the comment: @tholzer I've updated socket_2_7_2_patch.py and added the missing break statement. -- Added file: http://bugs.python.org/file35408/socket_2_7_2_patch.py ___ Python tracker <http://bugs.python.org/is

[issue20611] socket.create_connection() doesn't handle EINTR properly

2014-05-29 Thread Syou Ei
Changes by Syou Ei : Removed file: http://bugs.python.org/file35400/socket_2_7_2_patch.py ___ Python tracker <http://bugs.python.org/issue20611> ___ ___ Python-bugs-list m

[issue20611] socket.create_connection() doesn't handle EINTR properly

2014-05-29 Thread Syou Ei
Syou Ei added the comment: @flox Thank you for your comment. So we just only modify the socket.py to handle the system level call, is it right? Please let me attach the patch file of socket.py for 2.7.2. -- Added file: http://bugs.python.org/file35400/socket_2_7_2_patch.py

[issue20611] socket.create_connection() doesn't handle EINTR properly

2014-05-29 Thread Syou Ei
Syou Ei added the comment: @neologix, May I attach the patch file of smtplib.py for review? -- ___ Python tracker <http://bugs.python.org/issue20611> ___ ___ Pytho

[issue20611] socket.create_connection() doesn't handle EINTR properly

2014-05-28 Thread Syou Ei
Syou Ei added the comment: http://bugs.python.org/issue21602 The smtplib.py also has the same problem. The EINTR cannot be handled properly. -- nosy: +meishao ___ Python tracker <http://bugs.python.org/issue20

[issue21602] smtplib.py socket.create_connection() also doesn't handle EINTR properly

2014-05-28 Thread Syou Ei
New submission from Syou Ei: The smtplib.py also has the same problem. The EINTR cannot be handled properly. 2014-05-21 19:20:15,631 ERROR actions: Notification 'socket_noti' FAILED to send emails to set(['mailt...@tscoss.com']): - [Errno 4] Interrupted system callt