[Idle-dev] Fix for long delays
taleinat at gmail.com
Fri Jun 6 12:03:23 CEST 2008
David Scherer wrote:
> The reason no-subprocess mode is the default on Windows is to avoid
>> trying to open more than subprocess, since opening a second one
>> usually fails because of port clashes. About a year ago I worked up a
>> patch: http://bugs.python.org/issue1529142, "Allowing multiple
>> instances of IDLE with sub-processes". The problem with it is that I
>> haven't been able to get it accepted, because of lack of interest and
>> its relative complexity.
> Why not just bind to port 0 ("any") and then do self.port =
> self.rpcclt.listening_sock.getsockname() to find what port the OS has
> assigned? I tried that and IWFM.
I've never heard of that option - it sounds great! Is it supported on all
platforms? Can't that cause problems by binding to ports commonly used by
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IDLE-dev