[issue13495] IDLE: Regressions - Two ColorDelegator instances loaded and -e no longer edits new files.
Roger Serwy
report at bugs.python.org
Sun Jan 15 06:51:12 CET 2012
Roger Serwy <roger.serwy at gmail.com> added the comment:
There was another regression introduced by (a4bd8a4805a8). IDLE 3 no longer allows for editing of new files from the command line.
For example:
idle -e /tmp/newfile.py
will momentarily flash an editor window before it is closed. This is due to "good_load" not being set. What's worse is that the IDLE process will continue running without having any visible windows open.
The rev2 patch removes the "good_load" flag and fixes the ColorDelegator issue.
I understand the purpose of the original code is to avoid displaying a blank editor in case of a decode error. The rev2 patch reintroduces this behavior. In my opinion, that behavior is not a serious problem.
----------
nosy: +terry.reedy
title: IDLE: Regression - Two ColorDelegator instances loaded -> IDLE: Regressions - Two ColorDelegator instances loaded and -e no longer edits new files.
Added file: http://bugs.python.org/file24243/issue13495_rev2.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13495>
_______________________________________
More information about the Python-bugs-list
mailing list