blob: 00fedf0d180a21425efe60e6b5b80009da3b3f1e [file] [log] [blame]
Steven M. Gava4d712a42001-07-19 04:49:13 +00001README from IDLE fork 0.7.1 :
2=============================
3
David Scherer7aced172000-08-15 01:13:23 +00004EXPERIMENTAL LOADER IDLE 2000-05-29
5-----------------------------------
6
7 David Scherer <dscherer@cmu.edu>
8
9This is a modification of the CVS version of IDLE 0.5, updated as of
102000-03-09. It is alpha software and might be unstable. If it breaks,
11you get to keep both pieces.
12
13If you have problems or suggestions, you should either contact me or
14post to the list at http://www.python.org/mailman/listinfo/idle-dev
15(making it clear that you are using this modified version of IDLE).
16
17Changes:
18
19 The ExecBinding module, a replacement for ScriptBinding, executes
20 programs in a separate process, piping standard I/O through an RPC
21 mechanism to an OnDemandOutputWindow in IDLE. It supports executing
22 unnamed programs (through a temporary file). It does not yet support
23 debugging.
24
25 When running programs with ExecBinding, tracebacks will be clipped
26 to exclude system modules. If, however, a system module calls back
27 into the user program, that part of the traceback will be shown.
28
29 The OnDemandOutputWindow class has been improved. In particular,
30 it now supports a readline() function used to implement user input,
31 and a scroll_clear() operation which is used to hide the output of
32 a previous run by scrolling it out of the window.
33
34 Startup behavior has been changed. By default IDLE starts up with
35 just a blank editor window, rather than an interactive window. Opening
36 a file in such a blank window replaces the (nonexistent) contents of
37 that window instead of creating another window. Because of the need to
38 have a well-known port for the ExecBinding protocol, only one copy of
39 IDLE can be running. Additional invocations use the RPC mechanism to
40 report their command line arguments to the copy already running.
41
42 The menus have been reorganized. In particular, the excessively large
43 'edit' menu has been split up into 'edit', 'format', and 'run'.
44
45 'Python Documentation' now works on Windows, if the win32api module is
46 present.
47
48 A few key bindings have been changed: F1 now loads Python Documentation
49 instead of the IDLE help; shift-TAB is now a synonym for unindent.
50
51New modules:
52 ExecBinding.py Executes program through loader
53 loader.py Bootstraps user program
54 protocol.py RPC protocol
55 Remote.py User-process interpreter
56 spawn.py OS-specific code to start programs
57
58Files modified:
59 autoindent.py ( bindings tweaked )
60 bindings.py ( menus reorganized )
61 config.txt ( execbinding enabled )
62 editorwindow.py ( new menus, fixed 'Python Documentation' )
63 filelist.py ( hook for "open in same window" )
64 formatparagraph.py ( bindings tweaked )
65 idle.bat ( removed absolute pathname )
66 idle.pyw ( weird bug due to import with same name? )
67 iobinding.py ( open in same window, EOL convention )
68 keydefs.py ( bindings tweaked )
69 outputwindow.py ( readline, scroll_clear, etc )
70 pyshell.py ( changed startup behavior )
71 readme.txt ( <Recursion on file with id=1234567> )
72
73IDLE 0.5 - February 2000
74------------------------
75
76This is an early release of IDLE, my own attempt at a Tkinter-based
77IDE for Python.
78
79For news about this release, see the file NEWS.txt. (For a more
80detailed change log, see the file ChangeLog.)
81
82FEATURES
83
84IDLE has the following features:
85
86- coded in 100% pure Python, using the Tkinter GUI toolkit (i.e. Tcl/Tk)
87
88- cross-platform: works on Windows and Unix (on the Mac, there are
89currently problems with Tcl/Tk)
90
91- multi-window text editor with multiple undo, Python colorizing
92and many other features, e.g. smart indent and call tips
93
94- Python shell window (a.k.a. interactive interpreter)
95
96- debugger (not complete, but you can set breakpoints, view and step)
97
98USAGE
99
100The main program is in the file "idle.py"; on Unix, you should be able
101to run it by typing "./idle.py" to your shell. On Windows, you can
102run it by double-clicking it; you can use idle.pyw to avoid popping up
103a DOS console. If you want to pass command line arguments on Windows,
104use the batch file idle.bat.
105
106Command line arguments: files passed on the command line are executed,
107not opened for editing, unless you give the -e command line option.
108Try "./idle.py -h" to see other command line options.
109
110IDLE requires Python 1.5.2, so it is currently only usable with a
111Python 1.5.2 distribution. (An older version of IDLE is distributed
112with Python 1.5.2; you can drop this version on top of it.)
113
114COPYRIGHT
115
116IDLE is covered by the standard Python copyright notice
117(http://www.python.org/doc/Copyright.html).
118
119FEEDBACK
120
121(removed, since Guido probably doesn't want complaints about my
122changes)
123
124--Guido van Rossum (home page: http://www.python.org/~guido/)