Todd Rovito added the comment:
Roger,
Yes I will add another issue covering the enhancement.
Ned,
Thanks for the review. I forgot to mention it but I too tested on the Mac
:-).
--
___
Python tracker rep...@bugs.python.org
Roger Serwy added the comment:
We can fix the bug as-is and then open a separate enhancement issue for Tal's
suggestions. I place bug in quotes because the correct behavior is not
documented.
--
assignee: - roger.serwy
nosy: +Todd.Rovito
stage: - patch review
type: - behavior
Todd Rovito added the comment:
Roger,
I reviewed and tested the patch, it does seem to fix the bug. Now when the
on startup configure option is selected IDLE will behave as expected. I think
this makes sense to fix the bug even though it is not documented we can infer
the behavior based
Roundup Robot added the comment:
New changeset 240c83902fca by Roger Serwy in branch '2.7':
#6698: IDLE now opens just an editor window when configured to do so.
http://hg.python.org/cpython/rev/240c83902fca
New changeset 174caf4c901a by Roger Serwy in branch '3.3':
#6698: IDLE now opens just
Roger Serwy added the comment:
Thanks Todd for the review! If you have time, could you open a new issue to
deal with the enhancements discussed here?
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python
Terry J. Reedy added the comment:
If we are not sure of the 'right' behavior in cases like this, we can ask for
opinions on idle-dev. That is at least part of its purpose. Does anyone there
use any of the options?
--
___
Python tracker
Roger Serwy added the comment:
Terry, I read over the revision in r71126 and it looked like the behavior
change was an unintended consequence of applying an ephemeral ports patch. That
and Todd's reasoning of the correct behavior being inferrable from the
configuration dialog convinced me
Terry J. Reedy added the comment:
If at least three of you are in agreement, great. Take my comment as a general
one for other issues, when applicable ;-).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6698
Roger Serwy added the comment:
Will do, Terry! :-)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6698
___
___
Python-bugs-list mailing list
Ned Deily added the comment:
With the patch applied, I verified that the launch behavior of OS X IDLE.app is
unchanged as expected.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6698
___
Terry J. Reedy tjre...@udel.edu added the comment:
When I click r71126 it is mapped to bc084a97318b for #1529142
KBK msg85379 says The -e option now only opens an editor window,
I think I agree with Tal's suggestion as long as thing still work ok on Mac. It
is trivial to open a new empty
Roger Serwy roger.se...@gmail.com added the comment:
Attached is a patch to correct the existing bug as-is.
Should the behavior of IDLE be changed as Tal suggests?
--
keywords: +patch
nosy: +serwy
Added file: http://bugs.python.org/file23911/issue6698.patch
Ronald Oussoren ronaldousso...@mac.com added the comment:
The current behaviour on OSX for IDLE.app is to always open a shell window, and
open edit windows for any files that should be opened during launch.
IDLE.app does not open an empty edit window, and I agree that this is sane
behaviour.
Tal Einat talei...@gmail.com added the comment:
After looking through the code and experimenting a bit, I propose the following:
The editor-on-startup config option should be removed. Running IDLE without
arguments should open a shell. If IDLE is asked to open any files for editing,
it should
Ned Deily n...@acm.org added the comment:
Keep in mind that, on OS X, there are two ways to invoke IDLE: one, by command
line in a terminal window, and, two, by launching IDLE.app (explicitly, say by
double-clicking on the app icon, or implictily, say by double-clicking on a .py
file where
Tal Einat talei...@gmail.com added the comment:
My question is, when IDLE is run without arguments (as is the case for
IDLE.app), what is the benefit opening an empty editor window as opposed to a
shell window?
In both cases if you just want to edit a file you must open it via the menus
Tal Einat talei...@gmail.com added the comment:
I agree on this. Unfortunately that change in r71126 wasn't commented on or
documented in any way.
--
nosy: +taleinat
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6698
New submission from Guilherme Polo ggp...@gmail.com:
If someone configure IDLE to start a edit window by default, I believe
it should open only an edit window without starting shell window. This
has been the behaviour in previous version, but it is acting different now.
I looked into r71126 and
18 matches
Mail list logo