Patches item #1201569, was opened at 2005-05-13 14:03
Message generated for change (Comment added) made by jshute
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1201569&group_id=5470

Category: IDLE
Group: None
Status: Open
Resolution: Later
Priority: 3
Submitted By: Jeff Shute (jshute)
Assigned to: Kurt B. Kaiser (kbk)
Summary: allow running multiple instances of IDLE

Initial Comment:
This patch will allow running multiple instances of
IDLE in the default (mutli-process) mode by choosing
the first available port from 8833-8893 instead of
failing when another IDLE has already bound port 8833.

(Not tested on windows.)

----------------------------------------------------------------------

>Comment By: Jeff Shute (jshute)
Date: 2005-05-18 08:52

Message:
Logged In: YES 
user_id=39615

My use case is just that I find it annoying that in the
default mode, you can't run multiple instances, and I kept
seeing the annoying dialog box and having to restart.  I
normally use -n mode partly because of this, but sometimes I
forget.  It seemed like a trivial fix.

Regarding the note, I didn't understand the comment because
it doesn't say why.  I thought maybe it was done that way so
that it could be made to fail so the error messages could be
tested.  It seemed like you avoid the sleep() and several
race conditions by starting the listener first.

----------------------------------------------------------------------

Comment By: Kurt B. Kaiser (kbk)
Date: 2005-05-18 00:37

Message:
Logged In: YES 
user_id=149084

Duplicate of IDLEfork 661363

Will not be considered until remaining problems with socket
binding on Windows have been resolved.

Note: You can start as many copies of IDLE as you want with 
the -n switch.  What is your use case?

Also note:
# spawning first avoids passing a listening socket to the subprocess

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1201569&group_id=5470
_______________________________________________
Patches mailing list
[email protected]
http://mail.python.org/mailman/listinfo/patches

Reply via email to