This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients MJ, kristjan.jonsson, paul.moore, steve.dower, terry.reedy, tim.golden, zach.ware
Date 2016-04-24.18:22:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1461522121.35.0.107444082915.issue26739@psf.upfronthosting.co.za>
In-reply-to
Content
Kristján, thank you for the response.  The socket communication part of IDLE is pretty much a black box to me.  Just to clarify, you are saying that select polling is only needed for non-blocking sockets; sockets are blocking by default; and you see no override of the default.  Me neither.  It would be nice to know.  Idlelib.PyShell has the following lines: 
<445>        self.rpcclt.listening_sock.settimeout(10)
<561>            response = clt.pollresponse(self.active_seq, wait=0.05)
The wait is ultimately passed to rpc.py, line 353:
            r, w, x = select.select([self.sock.fileno()], [], [], wait)

(IDLE is very much in use, and I hope to modernize the 3.x version, and perhaps replace the sockets with non-blocking use of pipes.)

Michael: I cannot change 2.7.5 and I am not inclined to change 2.7.12+ until I know there is a problem with the current 2.7 release.  Numerous people are using IDLE with 2.7.11 (and 3.x) on Windows without problems.
History
Date User Action Args
2016-04-24 18:22:01terry.reedysetrecipients: + terry.reedy, paul.moore, kristjan.jonsson, tim.golden, zach.ware, steve.dower, MJ
2016-04-24 18:22:01terry.reedysetmessageid: <1461522121.35.0.107444082915.issue26739@psf.upfronthosting.co.za>
2016-04-24 18:22:01terry.reedylinkissue26739 messages
2016-04-24 18:22:01terry.reedycreate