Kurt B. Kaiser k...@shore.net added the comment:
Opened a bug to get the -n switch removed from
the Windows Installer Edit with IDLE function.
--
superseder: - Parts of Tkinter missing (but not when running from IDLE)
___
Python tracker
Kurt B. Kaiser k...@shore.net added the comment:
r71126. Thanks to everyone for all the work on this!
Note: I still need to patch the Windows install to
bind .py files to a different command string. The
-e option now only opens an editor window, but I need
to remove the -n option.
--
Kurt B. Kaiser k...@shore.net added the comment:
The hooks for the IP address will be needed if we add remote debugging
to IDLE, so I'd like to keep them. Otherwise, David Scherer's idea re
using an ephemeral port assignment looks very promising. I'll check
something in.
--
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Is there anyone following this thread that thinks the weeble's patch is
not ready to commit?
--
assignee: kbk - rhettinger
nosy: +rhettinger
___
Python tracker
Weeble clockworksa...@gmail.com added the comment:
A thought occurs to me: would this patch make it harder to cope with
awkward firewalls that block the connection? Are they more or less
likely to intervene when passing a port of 0 and letting it pick a port
automatically? And if they do
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment:
If this patch were accepted, #5065 would be a non-issue then.
--
nosy: +gagenellina
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1529142
Weeble clockworksa...@gmail.com added the comment:
I installed Ubuntu on a laptop at the beginning of January and have
applied the patch I submitted above to IDLE. I've been using it
regularly for the last few weeks and have had no problems with it.
___
Changes by Weeble [EMAIL PROTECTED]:
Added file: http://bugs.python.org/file12180/IDLE_automatic_ports.diff
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1529142
___
Weeble [EMAIL PROTECTED] added the comment:
Okay, I've uploaded a patch. As suggested, it passes 0 for the port
number and the port is automatically assigned. It then extracts the port
from the socket and passes it to the subprocess. Note that this means
the subprocess inherits the listening
Tal Einat [EMAIL PROTECTED] added the comment:
First of all, the multiprocessing module doesn't work fully in an
interactive shell.
From the Python2.6 docs:
Note Functionality within this package requires that the __main__
method be importable by the children. This is covered in Programming
Weeble [EMAIL PROTECTED] added the comment:
Is this ever likely to make it into IDLE? Running without a subprocess
in Windows appears to interact badly with the multiprocessing library
(attempting to spawn a process just creates a new IDLE window). I
couldn't figure out how to apply the patch
Changes by Weeble [EMAIL PROTECTED]:
--
nosy: +weeble
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1529142
___
___
Python-bugs-list mailing list
Guilherme Polo [EMAIL PROTECTED] added the comment:
Works fine for me, I just dislike that Port binding error message
because it is a bit misleading. It says IDLE can't bind any TCP/IP
port, ... which is not entirely true.
--
nosy: +gpolo
_
Tracker
Tal Einat [EMAIL PROTECTED] added the comment:
Thanks for taking the time to review this patch, Guilherme. For the
record, on which OS+Python have you tested this?
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1529142
Guilherme Polo [EMAIL PROTECTED] added the comment:
I tested under Linux (Ubuntu distro), Python trunk
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1529142
_
___
Tal Einat [EMAIL PROTECTED] added the comment:
I really, really wish we could get this in for Python2.6 - this issue is
a major drawback for beginners, for whom IDLE is mostly intended.
Perhaps not this specific patch; I am willing to work on cleaning up the
code and getting it tested by users
16 matches
Mail list logo