summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2003-06-01 01:11:14 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2003-06-01 01:11:14 (GMT)
commit5ddef75fcf650784eb93d580ba7d405152966823 (patch)
tree07aa9ce0f082822b5554ed7475109da810ad0b5e /Lib/idlelib
parent6c8579ed4d76470d7523026e44299d71fdfc0eb5 (diff)
downloadcpython-5ddef75fcf650784eb93d580ba7d405152966823.zip
cpython-5ddef75fcf650784eb93d580ba7d405152966823.tar.gz
cpython-5ddef75fcf650784eb93d580ba7d405152966823.tar.bz2
Update for release
Modified Files: NEWS.txt README.txt TODO.txt
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/NEWS.txt51
-rw-r--r--Lib/idlelib/README.txt6
-rw-r--r--Lib/idlelib/TODO.txt26
3 files changed, 52 insertions, 31 deletions
diff --git a/Lib/idlelib/NEWS.txt b/Lib/idlelib/NEWS.txt
index 26c1fda..11596fa 100644
--- a/Lib/idlelib/NEWS.txt
+++ b/Lib/idlelib/NEWS.txt
@@ -7,6 +7,31 @@ What's New in IDLEfork 0.9b1?
*Release date: XX-XXX-2003*
+- The current working directory of the execution environment (and shell
+ following completion of execution) is now that of the module being run.
+
+- Added the delete-exitfunc option to config-main.def. (This option is not
+ included in the Options dialog.) Setting this to True (the default) will
+ cause IDLE to not run sys.exitfunc/atexit when the subprocess exits.
+
+- IDLE now preserves the line ending codes when editing a file produced on
+ a different platform. SF 661759, SF 538584
+
+- Reduced default editor font size to 10 point and increased window height
+ to provide a better initial impression on Windows.
+
+- Options / Fonts/Tabs / Set Base Editor Font: List box was not highlighting
+ the default font when first installed on Windows. SF 661676
+
+- Added Autosave feature: when user runs code from edit window, if the file
+ has been modified IDLE will silently save it if Autosave is enabled. The
+ option is set in the Options dialog, and the default is to prompt the
+ user to save the file. SF 661318 Bruce Sherwood patch.
+
+- Improved the RESTART annotation in the shell window when the user restarts
+ the shell while it is generating output. Also improved annotation when user
+ repeatedly hammers the Ctrl-F6 restart.
+
- Allow IDLE to run when not installed and cwd is not the IDLE directory
SF Patch 686254 "Run IDLEfork from any directory without set-up" - Raphael
@@ -14,8 +39,10 @@ What's New in IDLEfork 0.9b1?
sys.path, prepend it. This allows the module to import other modules in
the same directory. Do the same for a script run from the command line.
-- Interrupt the subprocess if it is running when the user attempts to
- restart the shell, run a module, or exit.
+- Correctly restart the subprocess if it is running user code and the user
+ attempts to run some other module or restarts the shell. Do the same if
+ the link is broken and it is possible to restart the subprocess and re-
+ connect to the GUI. SF RFE 661321.
- Improved exception reporting when running commands or scripts from the
command line.
@@ -30,7 +57,10 @@ What's New in IDLEfork 0.9b1?
some platforms or configurations. (Running without the subprocess allows the
debugger to trace through parts of IDLE itself, which may or may not be
desirable, depending on your point of view. In addition, the traditional
- reload/import tricks must be use if user source code is changed.)
+ reload/import tricks must be use if user source code is changed.) This is
+ helpful for developing IDLE using IDLE, because one instance can be used to
+ edit the code and a separate instance run to test changes. (Multiple
+ concurrent IDLE instances with subprocesses is a future feature)
- Improve the error message a user gets when saving a file with non-ASCII
characters and no source encoding is specified. Done by adding a dialog
@@ -48,7 +78,8 @@ What's New in IDLEfork 0.9b1?
- Implemented a threaded subprocess which allows interrupting a pass
loop in user code using the 'interrupt' extension. User code runs
- in MainThread, while the RPCServer is handled by SockThread.
+ in MainThread, while the RPCServer is handled by SockThread. This is
+ necessary because Windows doesn't support signals.
- Implemented the 'interrupt' extension module, which allows a subthread
to raise a KeyboardInterrupt in the main thread.
@@ -67,23 +98,13 @@ What's New in IDLEfork 0.9b1?
- Exit IDLE cleanly even when doing subprocess I/O
-- Handle subprocess interrupt in Windows with an RPC message.
-
-- Calling Run will restart the subprocess even if user code is running.
- SF RFE 661321
+- Handle subprocess interrupt with an RPC message.
- Restart the subprocess if it terminates itself. (VPython programs do that)
- Support subclassing of exceptions, including in the shell, by moving the
exception formatting to the subprocess.
-- Known issues:
-
- + Typing two Control-C in close succession when the subprocess is busy can
- cause IDLE to lose communication with the subprocess. Please type one
- only and wait for the exception to complete. If you do manage to
- interrupt the interrupt, simply restart the shell.
- + Printing under some versions of Linux may be problematic.
What's New in IDLEfork 0.9 Alpha 2?
diff --git a/Lib/idlelib/README.txt b/Lib/idlelib/README.txt
index 2ab8064..575245b 100644
--- a/Lib/idlelib/README.txt
+++ b/Lib/idlelib/README.txt
@@ -9,6 +9,9 @@ available, complete with the IDLE debugger. The magic "reload/import *"
incantations are no longer required when editing/testing a module two or three
steps down the import chain.
+It is possible to interrupt tightly looping user code with a control-c, even on
+Windows.
+
There is also a new GUI configuration manager which makes it easy to select
fonts, colors, keybindings, and startup options. There is new feature where
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
For information on this release, refer to NEWS.txt
-As David Scherer aptly put it in the original IDLEfork README, "It is alpha
-software and might be unstable. If it breaks, you get to keep both pieces."
-
If you find bugs let us know about them by using the IDLEfork Bug Tracker. See
the IDLEfork home page at
diff --git a/Lib/idlelib/TODO.txt b/Lib/idlelib/TODO.txt
index c1207b6..e2f1ac0 100644
--- a/Lib/idlelib/TODO.txt
+++ b/Lib/idlelib/TODO.txt
@@ -11,14 +11,14 @@ TO DO:
- debugger should be global resource (attached to flist, not to shell)
- fix the stupid bug where you need to step twice
- display class name in stack viewer entries for methods
- - suppress tracing through IDLE internals (e.g. print)
+ - suppress tracing through IDLE internals (e.g. print) DONE
- add a button to suppress through a specific module or class or method
- more object inspection to stack viewer, e.g. to view all array items
-- insert the initial current directory into sys.path
+- insert the initial current directory into sys.path DONE
- default directory attribute for each window instead of only for windows
that have an associated filename
- command expansion from keywords, module contents, other buffers, etc.
-- "Recent documents" menu item
+- "Recent documents" menu item DONE
- Filter region command
- Optional horizontal scroll bar
- more Emacsisms:
@@ -37,7 +37,7 @@ TO DO:
- Need to define a standard way whereby one can determine one is running
inside IDLE (needed for Tk mainloop, also handy for $PYTHONSTARTUP)
- Add more utility methods for use by extensions (a la get_selection)
-- Way to run command in totally separate interpreter (fork+os.system?)
+- Way to run command in totally separate interpreter (fork+os.system?) DONE
- Way to find definition of fully-qualified name:
In other words, select "UserDict.UserDict", hit some magic key and
it loads up UserDict.py and finds the first def or class for UserDict.
@@ -57,7 +57,7 @@ Details:
- Sometimes for no apparent reason a selection from the cursor to the
end of the command buffer appears, which is hard to get rid of
because it stays when you are typing!
-- The Line/Col in the status bar can be wrong initially in PyShell
+- The Line/Col in the status bar can be wrong initially in PyShell DONE
Structural problems:
@@ -71,7 +71,7 @@ Jeff Bauer suggests:
- Open Module doesn't appear to handle hierarchical packages.
- Class browser should also allow hierarchical packages.
-- Open and Open Module could benefit from a history,
+- Open and Open Module could benefit from a history, DONE
either command line style, or Microsoft recent-file
style.
- Add a Smalltalk-style inspector (i.e. Tkinspect)
@@ -126,7 +126,7 @@ Robin Friedrich's items:
Things I'd like to see:
- I'd like support for shift-click extending the selection. There's a
bug now that it doesn't work the first time you try it.
- - Printing is needed. How hard can that be on Windows?
+ - Printing is needed. How hard can that be on Windows? FIRST CUT DONE
- The python-mode trick of autoindenting a line with <tab> is neat and
very handy.
- (someday) a spellchecker for docstrings and comments.
@@ -181,10 +181,10 @@ escape from the command area. (Albert Brandl)
- Set X11 class to "idle/Idle", set icon and title to something
beginning with "idle" -- for window manangers. (Randall Hopper)
-- Config files editable through a preferences dialog. (me)
+- Config files editable through a preferences dialog. (me) DONE
- Config files still editable outside the preferences dialog.
-(Randall Hopper)
+(Randall Hopper) DONE
- When you're editing a command in PyShell, and there are only blank
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,
etc. (me)
- Shouldn't be able to delete part of the prompt (or any text before
-it) in the PyShell. (Martijn Faassen)
+it) in the PyShell. (Martijn Faassen) DONE
- Emacs style auto-fill (also smart about comments and strings).
(Jeremy Hylton)
- Output of Run Script should go to a separate output window, not to
the shell window. Output of separate runs should all go to the same
-window but clearly delimited. (David Scherer)
+window but clearly delimited. (David Scherer) REJECT FIRST, LATTER DONE
-- GUI form designer to kick VB's butt. (Robert Geiger)
+- GUI form designer to kick VB's butt. (Robert Geiger) THAT'S NOT IDLE
- Printing! Possibly via generation of PDF files which the user must
-then send to the printer separately. (Dinu Gherman)
+then send to the printer separately. (Dinu Gherman) FIRST CUT