[Idle-dev] [ idlefork-Patches-661363 ] Run multiple IDLEforks on the same machine simultanously
SourceForge.net
noreply@sourceforge.net
Sat, 12 Apr 2003 16:01:22 -0700
Patches item #661363, was opened at 2003-01-03 00:57
Message generated for change (Comment added) made by noamr
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=309579&aid=661363&group_id=9579
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Noam Raphael (noamr)
Assigned to: Nobody/Anonymous (nobody)
Summary: Run multiple IDLEforks on the same machine simultanously
Initial Comment:
Instead of defining a specific port (8833), a list of
legitimate ports is defined. When IDLE starts, it goes
over the list and tries each of the ports. When it
finds a port which is ok, it starts the subprocess.
The list of ports which I defined is very arbitrary,
and should be reviewed.
A more minor change, which is calling the
spawn_subprocess method only after the RPCClient class
was succesfully initialized, solves the bug that when
opening a second IDLE, an error message is displayed
but a malfunctioning shell window is displayed, and
when it's closed, the subprocess keeps on running until
the first IDLE is shut down.
----------------------------------------------------------------------
>Comment By: Noam Raphael (noamr)
Date: 2003-04-13 02:01
Message:
Logged In: YES
user_id=679426
This better patch tries the ports at a random order, which
is much faster when some IDLEfork instances are already running.
----------------------------------------------------------------------
Comment By: Kurt B. Kaiser (kbk)
Date: 2003-01-03 05:55
Message:
Logged In: YES
user_id=149084
Converted Noam Raphael's file to a context patch
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=309579&aid=661363&group_id=9579