Skip to content

Commit 5ddef75

Browse files
committedJun 1, 2003
Update for release
Modified Files: NEWS.txt README.txt TODO.txt
1 parent 6c8579e commit 5ddef75

File tree

3 files changed

+52
-31
lines changed

3 files changed

+52
-31
lines changed
 

‎Lib/idlelib/NEWS.txt

Lines changed: 36 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,42 @@ What's New in IDLEfork 0.9b1?
77

88
*Release date: XX-XXX-2003*
99

10+
- The current working directory of the execution environment (and shell
11+
following completion of execution) is now that of the module being run.
12+
13+
- Added the delete-exitfunc option to config-main.def. (This option is not
14+
included in the Options dialog.) Setting this to True (the default) will
15+
cause IDLE to not run sys.exitfunc/atexit when the subprocess exits.
16+
17+
- IDLE now preserves the line ending codes when editing a file produced on
18+
a different platform. SF 661759, SF 538584
19+
20+
- Reduced default editor font size to 10 point and increased window height
21+
to provide a better initial impression on Windows.
22+
23+
- Options / Fonts/Tabs / Set Base Editor Font: List box was not highlighting
24+
the default font when first installed on Windows. SF 661676
25+
26+
- Added Autosave feature: when user runs code from edit window, if the file
27+
has been modified IDLE will silently save it if Autosave is enabled. The
28+
option is set in the Options dialog, and the default is to prompt the
29+
user to save the file. SF 661318 Bruce Sherwood patch.
30+
31+
- Improved the RESTART annotation in the shell window when the user restarts
32+
the shell while it is generating output. Also improved annotation when user
33+
repeatedly hammers the Ctrl-F6 restart.
34+
1035
- Allow IDLE to run when not installed and cwd is not the IDLE directory
1136
SF Patch 686254 "Run IDLEfork from any directory without set-up" - Raphael
1237

1338
- When a module is run from an EditorWindow: if its directory is not in
1439
sys.path, prepend it. This allows the module to import other modules in
1540
the same directory. Do the same for a script run from the command line.
1641

17-
- Interrupt the subprocess if it is running when the user attempts to
18-
restart the shell, run a module, or exit.
42+
- Correctly restart the subprocess if it is running user code and the user
43+
attempts to run some other module or restarts the shell. Do the same if
44+
the link is broken and it is possible to restart the subprocess and re-
45+
connect to the GUI. SF RFE 661321.
1946

2047
- Improved exception reporting when running commands or scripts from the
2148
command line.
@@ -30,7 +57,10 @@ What's New in IDLEfork 0.9b1?
3057
some platforms or configurations. (Running without the subprocess allows the
3158
debugger to trace through parts of IDLE itself, which may or may not be
3259
desirable, depending on your point of view. In addition, the traditional
33-
reload/import tricks must be use if user source code is changed.)
60+
reload/import tricks must be use if user source code is changed.) This is
61+
helpful for developing IDLE using IDLE, because one instance can be used to
62+
edit the code and a separate instance run to test changes. (Multiple
63+
concurrent IDLE instances with subprocesses is a future feature)
3464

3565
- Improve the error message a user gets when saving a file with non-ASCII
3666
characters and no source encoding is specified. Done by adding a dialog
@@ -48,7 +78,8 @@ What's New in IDLEfork 0.9b1?
4878

4979
- Implemented a threaded subprocess which allows interrupting a pass
5080
loop in user code using the 'interrupt' extension. User code runs
51-
in MainThread, while the RPCServer is handled by SockThread.
81+
in MainThread, while the RPCServer is handled by SockThread. This is
82+
necessary because Windows doesn't support signals.
5283

5384
- Implemented the 'interrupt' extension module, which allows a subthread
5485
to raise a KeyboardInterrupt in the main thread.
@@ -67,23 +98,13 @@ What's New in IDLEfork 0.9b1?
6798

6899
- Exit IDLE cleanly even when doing subprocess I/O
69100

70-
- Handle subprocess interrupt in Windows with an RPC message.
71-
72-
- Calling Run will restart the subprocess even if user code is running.
73-
SF RFE 661321
101+
- Handle subprocess interrupt with an RPC message.
74102

75103
- Restart the subprocess if it terminates itself. (VPython programs do that)
76104

77105
- Support subclassing of exceptions, including in the shell, by moving the
78106
exception formatting to the subprocess.
79107

80-
- Known issues:
81-
82-
+ Typing two Control-C in close succession when the subprocess is busy can
83-
cause IDLE to lose communication with the subprocess. Please type one
84-
only and wait for the exception to complete. If you do manage to
85-
interrupt the interrupt, simply restart the shell.
86-
+ Printing under some versions of Linux may be problematic.
87108

88109

89110
What's New in IDLEfork 0.9 Alpha 2?

‎Lib/idlelib/README.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ available, complete with the IDLE debugger. The magic "reload/import *"
99
incantations are no longer required when editing/testing a module two or three
1010
steps down the import chain.
1111

12+
It is possible to interrupt tightly looping user code with a control-c, even on
13+
Windows.
14+
1215
There is also a new GUI configuration manager which makes it easy to select
1316
fonts, colors, keybindings, and startup options. There is new feature where
1417
the user can specify additional help sources, either locally or on the web.
@@ -18,9 +21,6 @@ IDLEfork will be merged back into the Python distribution in the near future
1821

1922
For information on this release, refer to NEWS.txt
2023

21-
As David Scherer aptly put it in the original IDLEfork README, "It is alpha
22-
software and might be unstable. If it breaks, you get to keep both pieces."
23-
2424
If you find bugs let us know about them by using the IDLEfork Bug Tracker. See
2525
the IDLEfork home page at
2626

‎Lib/idlelib/TODO.txt

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ TO DO:
1111
- debugger should be global resource (attached to flist, not to shell)
1212
- fix the stupid bug where you need to step twice
1313
- display class name in stack viewer entries for methods
14-
- suppress tracing through IDLE internals (e.g. print)
14+
- suppress tracing through IDLE internals (e.g. print) DONE
1515
- add a button to suppress through a specific module or class or method
1616
- more object inspection to stack viewer, e.g. to view all array items
17-
- insert the initial current directory into sys.path
17+
- insert the initial current directory into sys.path DONE
1818
- default directory attribute for each window instead of only for windows
1919
that have an associated filename
2020
- command expansion from keywords, module contents, other buffers, etc.
21-
- "Recent documents" menu item
21+
- "Recent documents" menu item DONE
2222
- Filter region command
2323
- Optional horizontal scroll bar
2424
- more Emacsisms:
@@ -37,7 +37,7 @@ TO DO:
3737
- Need to define a standard way whereby one can determine one is running
3838
inside IDLE (needed for Tk mainloop, also handy for $PYTHONSTARTUP)
3939
- Add more utility methods for use by extensions (a la get_selection)
40-
- Way to run command in totally separate interpreter (fork+os.system?)
40+
- Way to run command in totally separate interpreter (fork+os.system?) DONE
4141
- Way to find definition of fully-qualified name:
4242
In other words, select "UserDict.UserDict", hit some magic key and
4343
it loads up UserDict.py and finds the first def or class for UserDict.
@@ -57,7 +57,7 @@ Details:
5757
- Sometimes for no apparent reason a selection from the cursor to the
5858
end of the command buffer appears, which is hard to get rid of
5959
because it stays when you are typing!
60-
- The Line/Col in the status bar can be wrong initially in PyShell
60+
- The Line/Col in the status bar can be wrong initially in PyShell DONE
6161

6262
Structural problems:
6363

@@ -71,7 +71,7 @@ Jeff Bauer suggests:
7171

7272
- Open Module doesn't appear to handle hierarchical packages.
7373
- Class browser should also allow hierarchical packages.
74-
- Open and Open Module could benefit from a history,
74+
- Open and Open Module could benefit from a history, DONE
7575
either command line style, or Microsoft recent-file
7676
style.
7777
- Add a Smalltalk-style inspector (i.e. Tkinspect)
@@ -126,7 +126,7 @@ Robin Friedrich's items:
126126
Things I'd like to see:
127127
- I'd like support for shift-click extending the selection. There's a
128128
bug now that it doesn't work the first time you try it.
129-
- Printing is needed. How hard can that be on Windows?
129+
- Printing is needed. How hard can that be on Windows? FIRST CUT DONE
130130
- The python-mode trick of autoindenting a line with <tab> is neat and
131131
very handy.
132132
- (someday) a spellchecker for docstrings and comments.
@@ -181,10 +181,10 @@ escape from the command area. (Albert Brandl)
181181
- Set X11 class to "idle/Idle", set icon and title to something
182182
beginning with "idle" -- for window manangers. (Randall Hopper)
183183

184-
- Config files editable through a preferences dialog. (me)
184+
- Config files editable through a preferences dialog. (me) DONE
185185

186186
- Config files still editable outside the preferences dialog.
187-
(Randall Hopper)
187+
(Randall Hopper) DONE
188188

189189
- When you're editing a command in PyShell, and there are only blank
190190
lines below the cursor, hitting Return should ignore or delete those
@@ -195,16 +195,16 @@ dialog with options to give command line arguments, run the debugger,
195195
etc. (me)
196196

197197
- Shouldn't be able to delete part of the prompt (or any text before
198-
it) in the PyShell. (Martijn Faassen)
198+
it) in the PyShell. (Martijn Faassen) DONE
199199

200200
- Emacs style auto-fill (also smart about comments and strings).
201201
(Jeremy Hylton)
202202

203203
- Output of Run Script should go to a separate output window, not to
204204
the shell window. Output of separate runs should all go to the same
205-
window but clearly delimited. (David Scherer)
205+
window but clearly delimited. (David Scherer) REJECT FIRST, LATTER DONE
206206

207-
- GUI form designer to kick VB's butt. (Robert Geiger)
207+
- GUI form designer to kick VB's butt. (Robert Geiger) THAT'S NOT IDLE
208208

209209
- Printing! Possibly via generation of PDF files which the user must
210-
then send to the printer separately. (Dinu Gherman)
210+
then send to the printer separately. (Dinu Gherman) FIRST CUT

0 commit comments

Comments
 (0)