mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
The new version (attached) is fast enough all the time in every real module
I have <whew!>. You can make it slow by, e.g., creating an open list with
5,000 90-character identifiers (+ trailing comma) each on its own line, then
adding an item to the end -- but that still consumes less than a second on
my P5-166. Response time in real code appears instantaneous.
Fixed some bugs.
New feature: when hitting ENTER and the cursor is beyond the line's leading
indentation, whitespace is removed on both sides of the cursor; before
whitespace was removed only on the left; e.g., assuming the cursor is
between the comma and the space:
def something(arg1, arg2):
^ cursor to the left of here, and hit ENTER
arg2): # new line used to end up here
arg2): # but now lines up the way you expect
New hack: AutoIndent has grown a context_use_ps1 Boolean config option,
defaulting to 0 (false) and set to 1 (only) by PyShell. Reason: handling
the fancy stuff requires looking backward for a parsing synch point; ps1
lines are the only sensible thing to look for in a shell window, but are a
bad thing to look for in a file window (ps1 lines show up in my module
docstrings often). PythonWin's shell should set this true too.
Persistent problem: strings containing def/class can still screw things up
completely. No improvement. Simplest workaround is on the user's head, and
consists of inserting e.g.
def _(): pass
(or any other def/class) after the end of the multiline string that's
screwing them up. This is especially irksome because IDLE's syntax coloring
is *not* confused, so when this happens the colors don't match the
indentation behavior they see.
|
||
|---|---|---|
| .. | ||
| Icons | ||
| __init__.py | ||
| AutoExpand.py | ||
| AutoIndent.py | ||
| Bindings.py | ||
| ChangeLog | ||
| ClassBrowser.py | ||
| ColorDelegator.py | ||
| Debugger.py | ||
| Delegator.py | ||
| EditorWindow.py | ||
| eventparse.py | ||
| extend.py | ||
| extend.txt | ||
| FileList.py | ||
| FormatParagraph.py | ||
| FrameViewer.py | ||
| GrepDialog.py | ||
| help.txt | ||
| idle.bat | ||
| idle.py | ||
| idle.pyw | ||
| IdleHistory.py | ||
| IdlePrefs.py | ||
| idlever.py | ||
| IOBinding.py | ||
| keydefs.py | ||
| MultiScrolledLists.py | ||
| NEWS.txt | ||
| ObjectBrowser.py | ||
| OutputWindow.py | ||
| PathBrowser.py | ||
| Percolator.py | ||
| PyParse.py | ||
| PyShell.py | ||
| README.txt | ||
| ReplaceDialog.py | ||
| ScriptBinding.py | ||
| ScrolledList.py | ||
| SearchBinding.py | ||
| SearchDialog.py | ||
| SearchDialogBase.py | ||
| SearchEngine.py | ||
| Separator.py | ||
| StackViewer.py | ||
| tabnanny.py | ||
| testcode.py | ||
| TODO.txt | ||
| ToolTip.py | ||
| TreeWidget.py | ||
| UndoDelegator.py | ||
| WidgetRedirector.py | ||
| WindowList.py | ||
| ZoomHeight.py | ||
IDLE 0.4 - 7 April 1999 ----------------------- For news about this release, see the file NEWS.txt. (For a more detailed change log, see the file ChangeLog.) This is an early release of IDLE, my own attempt at a Tkinter-based IDE for Python. It has the following features: - 100% pure Python - multi-window text editor with multiple undo and Python colorizing - Python shell (a.k.a. interactive interpreter) window subclass - debugger (not complete, but you can set breakpoints and step) - works on Windows and Unix (probably works on Mac too) The main program is in the file "idle"; on Windows you can use idle.pyw to avoid popping up a DOS console. Any arguments passed are interpreted as files that will be opened for editing. IDLE requires Python 1.5.2, so it is currently only usable with the Python 1.5.2 distribution (luckily, IDLE is bundled with Python 1.5.2). Please send feedback to the Python newsgroup, comp.lang.python, and cc me <guido@python.org>. --Guido van Rossum (home page: http://www.python.org/~guido/)