[issue26739] idle: Errno 10035 a non-blocking socket operation could not be completed immediately

Kristján Valur Jónsson report at bugs.python.org
Mon Apr 25 08:08:35 EDT 2016


Kristján Valur Jónsson added the comment:

I think that the select.select calls there are a red herring, since I see no evidence that the rpc socket is ever put in non-blocking mode.
But the line
self.rpcclt.listening_sock.settimeout(10)
indicates that the socket is in timeout mode, and so, the error could be expected if it weren't for the backported fix for issue #9090

I'll have another look at that code and see if thera are any loopholes.

Also, Micahel could try commenting out this line in 
C:\Python27\Lib\idlelib\PyShell.py:
 self.rpcclt.listening_sock.settimeout(10)

and see if the problem goes away.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26739>
_______________________________________


More information about the Python-bugs-list mailing list