/
usr
/
lib
/
python2.6
/
idlelib
/
/usr/lib/python2.6/idlelib
mkdir
upload
Name
Size
Mode
Actions
Icons/
-
0755
rm
aboutDialog.py
6825
0644
edit
dl
rm
aboutDialog.pyc
6937
0644
edit
dl
rm
aboutDialog.pyo
6937
0644
edit
dl
rm
AutoComplete.py
9061
0644
edit
dl
rm
AutoComplete.pyc
7997
0644
edit
dl
rm
AutoComplete.pyo
7997
0644
edit
dl
rm
AutoCompleteWindow.py
17201
0644
edit
dl
rm
AutoCompleteWindow.pyc
12544
0644
edit
dl
rm
AutoCompleteWindow.pyo
12481
0644
edit
dl
rm
AutoExpand.py
2483
0644
edit
dl
rm
AutoExpand.pyc
2575
0644
edit
dl
rm
AutoExpand.pyo
2575
0644
edit
dl
rm
Bindings.py
3502
0644
edit
dl
rm
Bindings.pyc
5062
0644
edit
dl
rm
Bindings.pyo
5062
0644
edit
dl
rm
CallTips.py
7608
0644
edit
dl
rm
CallTips.pyc
10219
0644
edit
dl
rm
CallTips.pyo
10219
0644
edit
dl
rm
CallTipWindow.py
5924
0644
edit
dl
rm
CallTipWindow.pyc
6189
0644
edit
dl
rm
CallTipWindow.pyo
6189
0644
edit
dl
rm
ChangeLog
56393
0644
edit
dl
rm
ClassBrowser.py
6369
0644
edit
dl
rm
ClassBrowser.pyc
9160
0644
edit
dl
rm
ClassBrowser.pyo
9160
0644
edit
dl
rm
CodeContext.py
8347
0644
edit
dl
rm
CodeContext.pyc
6713
0644
edit
dl
rm
CodeContext.pyo
6667
0644
edit
dl
rm
ColorDelegator.py
10150
0644
edit
dl
rm
ColorDelegator.pyc
8942
0644
edit
dl
rm
ColorDelegator.pyo
8942
0644
edit
dl
rm
config-extensions.def
2697
0644
edit
dl
rm
config-highlight.def
1740
0644
edit
dl
rm
config-keys.def
7517
0644
edit
dl
rm
config-main.def
2512
0644
edit
dl
rm
configDialog.py
53229
0644
edit
dl
rm
configDialog.pyc
44828
0644
edit
dl
rm
configDialog.pyo
44828
0644
edit
dl
rm
configHandler.py
28803
0644
edit
dl
rm
configHandler.pyc
27268
0644
edit
dl
rm
configHandler.pyo
27268
0644
edit
dl
rm
configHelpSourceEdit.py
6680
0644
edit
dl
rm
configHelpSourceEdit.pyc
6731
0644
edit
dl
rm
configHelpSourceEdit.pyo
6731
0644
edit
dl
rm
configSectionNameDialog.py
3720
0644
edit
dl
rm
configSectionNameDialog.pyc
4305
0644
edit
dl
rm
configSectionNameDialog.pyo
4305
0644
edit
dl
rm
CREDITS.txt
1856
0644
edit
dl
rm
Debugger.py
15818
0644
edit
dl
rm
Debugger.pyc
16986
0644
edit
dl
rm
Debugger.pyo
16986
0644
edit
dl
rm
Delegator.py
831
0644
edit
dl
rm
Delegator.pyc
1607
0644
edit
dl
rm
Delegator.pyo
1607
0644
edit
dl
rm
dynOptionMenuWidget.py
1302
0644
edit
dl
rm
dynOptionMenuWidget.pyc
1699
0644
edit
dl
rm
dynOptionMenuWidget.pyo
1699
0644
edit
dl
rm
EditorWindow.py
59734
0644
edit
dl
rm
EditorWindow.pyc
52769
0644
edit
dl
rm
EditorWindow.pyo
52666
0644
edit
dl
rm
extend.txt
3652
0644
edit
dl
rm
FileList.py
3660
0644
edit
dl
rm
FileList.pyc
3988
0644
edit
dl
rm
FileList.pyo
3953
0644
edit
dl
rm
FormatParagraph.py
5734
0644
edit
dl
rm
FormatParagraph.pyc
4803
0644
edit
dl
rm
FormatParagraph.pyo
4803
0644
edit
dl
rm
GrepDialog.py
4052
0644
edit
dl
rm
GrepDialog.pyc
5037
0644
edit
dl
rm
GrepDialog.pyo
5037
0644
edit
dl
rm
help.txt
11223
0644
edit
dl
rm
HISTORY.txt
10317
0644
edit
dl
rm
HyperParser.py
10310
0644
edit
dl
rm
HyperParser.pyc
6620
0644
edit
dl
rm
HyperParser.pyo
6620
0644
edit
dl
rm
idle.py
664
0644
edit
dl
rm
idle.pyc
594
0644
edit
dl
rm
idle.pyo
594
0644
edit
dl
rm
idle.pyw
664
0644
edit
dl
rm
IdleHistory.py
3145
0644
edit
dl
rm
IdleHistory.pyc
3213
0644
edit
dl
rm
IdleHistory.pyo
3213
0644
edit
dl
rm
idlever.py
23
0644
edit
dl
rm
idlever.pyc
157
0644
edit
dl
rm
idlever.pyo
157
0644
edit
dl
rm
IOBinding.py
20972
0644
edit
dl
rm
IOBinding.pyc
17713
0644
edit
dl
rm
IOBinding.pyo
17713
0644
edit
dl
rm
keybindingDialog.py
12407
0644
edit
dl
rm
keybindingDialog.pyc
12384
0644
edit
dl
rm
keybindingDialog.pyo
12384
0644
edit
dl
rm
macosxSupport.py
4724
0644
edit
dl
rm
macosxSupport.pyc
4864
0644
edit
dl
rm
macosxSupport.pyo
4864
0644
edit
dl
rm
MultiCall.py
17470
0644
edit
dl
rm
MultiCall.pyc
16142
0644
edit
dl
rm
MultiCall.pyo
16066
0644
edit
dl
rm
MultiStatusBar.py
789
0644
edit
dl
rm
MultiStatusBar.pyc
1538
0644
edit
dl
rm
MultiStatusBar.pyo
1538
0644
edit
dl
rm
NEWS.txt
27165
0644
edit
dl
rm
ObjectBrowser.py
4156
0644
edit
dl
rm
ObjectBrowser.pyc
6691
0644
edit
dl
rm
ObjectBrowser.pyo
6691
0644
edit
dl
rm
OutputWindow.py
4392
0644
edit
dl
rm
OutputWindow.pyc
4990
0644
edit
dl
rm
OutputWindow.pyo
4990
0644
edit
dl
rm
ParenMatch.py
6627
0644
edit
dl
rm
ParenMatch.pyc
6973
0644
edit
dl
rm
ParenMatch.pyo
6973
0644
edit
dl
rm
PathBrowser.py
2646
0644
edit
dl
rm
PathBrowser.pyc
4135
0644
edit
dl
rm
PathBrowser.pyo
4135
0644
edit
dl
rm
Percolator.py
2616
0644
edit
dl
rm
Percolator.pyc
3634
0644
edit
dl
rm
Percolator.pyo
3440
0644
edit
dl
rm
PyParse.py
19510
0644
edit
dl
rm
PyParse.pyc
10179
0644
edit
dl
rm
PyParse.pyo
9711
0644
edit
dl
rm
PyShell.py
51909
0644
edit
dl
rm
PyShell.pyc
46494
0644
edit
dl
rm
PyShell.pyo
46393
0644
edit
dl
rm
README.txt
2623
0644
edit
dl
rm
RemoteDebugger.py
11660
0644
edit
dl
rm
RemoteDebugger.pyc
16290
0644
edit
dl
rm
RemoteDebugger.pyo
16135
0644
edit
dl
rm
RemoteObjectBrowser.py
942
0644
edit
dl
rm
RemoteObjectBrowser.pyc
2147
0644
edit
dl
rm
RemoteObjectBrowser.pyo
2147
0644
edit
dl
rm
ReplaceDialog.py
5134
0644
edit
dl
rm
ReplaceDialog.pyc
5954
0644
edit
dl
rm
ReplaceDialog.pyo
5954
0644
edit
dl
rm
rpc.py
20215
0644
edit
dl
rm
rpc.pyc
21819
0644
edit
dl
rm
rpc.pyo
21709
0644
edit
dl
rm
run.py
11337
0644
edit
dl
rm
run.pyc
12164
0644
edit
dl
rm
run.pyo
12164
0644
edit
dl
rm
ScriptBinding.py
7783
0644
edit
dl
rm
ScriptBinding.pyc
7585
0644
edit
dl
rm
ScriptBinding.pyo
7585
0644
edit
dl
rm
ScrolledList.py
3995
0644
edit
dl
rm
ScrolledList.pyc
6147
0644
edit
dl
rm
ScrolledList.pyo
6147
0644
edit
dl
rm
SearchDialog.py
2040
0644
edit
dl
rm
SearchDialog.pyc
3006
0644
edit
dl
rm
SearchDialog.pyo
3006
0644
edit
dl
rm
SearchDialogBase.py
4385
0644
edit
dl
rm
SearchDialogBase.pyc
5492
0644
edit
dl
rm
SearchDialogBase.pyo
5492
0644
edit
dl
rm
SearchEngine.py
6731
0644
edit
dl
rm
SearchEngine.pyc
7215
0644
edit
dl
rm
SearchEngine.pyo
7215
0644
edit
dl
rm
StackViewer.py
3857
0644
edit
dl
rm
StackViewer.pyc
5916
0644
edit
dl
rm
StackViewer.pyo
5916
0644
edit
dl
rm
tabbedpages.py
18188
0644
edit
dl
rm
tabbedpages.pyc
18085
0644
edit
dl
rm
tabbedpages.pyo
18085
0644
edit
dl
rm
textView.py
3246
0644
edit
dl
rm
textView.pyc
3965
0644
edit
dl
rm
textView.pyo
3965
0644
edit
dl
rm
TODO.txt
8478
0644
edit
dl
rm
ToolTip.py
2736
0644
edit
dl
rm
ToolTip.pyc
4126
0644
edit
dl
rm
ToolTip.pyo
4126
0644
edit
dl
rm
TreeWidget.py
15237
0644
edit
dl
rm
TreeWidget.pyc
17906
0644
edit
dl
rm
TreeWidget.pyo
17906
0644
edit
dl
rm
UndoDelegator.py
10277
0644
edit
dl
rm
UndoDelegator.pyc
12550
0644
edit
dl
rm
UndoDelegator.pyo
12550
0644
edit
dl
rm
WidgetRedirector.py
4476
0644
edit
dl
rm
WidgetRedirector.pyc
5338
0644
edit
dl
rm
WidgetRedirector.pyo
5338
0644
edit
dl
rm
WindowList.py
2473
0644
edit
dl
rm
WindowList.pyc
3624
0644
edit
dl
rm
WindowList.pyo
3624
0644
edit
dl
rm
ZoomHeight.py
1307
0644
edit
dl
rm
ZoomHeight.pyc
1651
0644
edit
dl
rm
ZoomHeight.pyo
1651
0644
edit
dl
rm
__init__.py
37
0644
edit
dl
rm
__init__.pyc
125
0644
edit
dl
rm
__init__.pyo
125
0644
edit
dl
rm
Edit:
/usr/lib/python2.6/idlelib/TODO.txt
(8478B)
Original IDLE todo, much of it now outdated: ============================================ TO DO: - improve debugger: - manage breakpoints globally, allow bp deletion, tbreak, cbreak etc. - real object browser - help on how to use it (a simple help button will do wonders) - performance? (updates of large sets of locals are slow) - better integration of "debug module" - 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) 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 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 DONE - Filter region command - Optional horizontal scroll bar - more Emacsisms: - ^K should cut to buffer - M-[, M-] to move by paragraphs - incremental search? - search should indicate wrap-around in some way - restructure state sensitive code to avoid testing flags all the time - persistent user state (e.g. window and cursor positions, bindings) - make backups when saving - check file mtimes at various points - Pluggable interface with RCS/CVS/Perforce/Clearcase - better help? - don't open second class browser on same module (nor second path browser) - unify class and path browsers - 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?) 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. - need a way to force colorization on/off - need a way to force auto-indent on/off Details: - ^O (on Unix -- open-line) should honor autoindent - after paste, show end of pasted text - on Windows, should turn short filename to long filename (not only in argv!) (shouldn't this be done -- or undone -- by ntpath.normpath?) - new autoindent after colon even indents when the colon is in a comment! - sometimes forward slashes in pathname remain - sometimes star in window name remains in Windows menu - With unix bindings, ESC by itself is ignored - 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 DONE Structural problems: - too much knowledge in FileList about EditorWindow (for example) - should add some primitives for accessing the selection etc. to repeat cumbersome code over and over ====================================================================== 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, DONE either command line style, or Microsoft recent-file style. - Add a Smalltalk-style inspector (i.e. Tkinspect) The last suggestion is already a reality, but not yet integrated into IDLE. I use a module called inspector.py, that used to be available from python.org(?) It no longer appears to be in the contributed section, and the source has no author attribution. In any case, the code is useful for visually navigating an object's attributes, including its container hierarchy. >>> from inspector import Tkinspect >>> Tkinspect(None, myObject) Tkinspect could probably be extended and refined to integrate better into IDLE. ====================================================================== Comparison to PTUI ------------------ + PTUI's help is better (HTML!) + PTUI can attach a shell to any module + PTUI has some more I/O commands: open multiple append examine (what's that?) ====================================================================== Notes after trying to run Grail ------------------------------- - Grail does stuff to sys.path based on sys.argv[0]; you must set sys.argv[0] to something decent first (it is normally set to the path of the idle script). - Grail must be exec'ed in __main__ because that's imported by some other parts of Grail. - Grail uses a module called History and so does idle :-( ====================================================================== 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? 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. - a pagedown/up command key which moves to next class/def statement (top level) - split window capability - DnD text relocation/copying Things I don't want to see. - line numbers... will probably slow things down way too much. - Please use another icon for the tree browser leaf. The small snake isn't cutting it. ---------------------------------------------------------------------- - Customizable views (multi-window or multi-pane). (Markus Gritsch) - Being able to double click (maybe double right click) on a callable object in the editor which shows the source of the object, if possible. (Gerrit Holl) - Hooks into the guts, like in Emacs. (Mike Romberg) - Sharing the editor with a remote tutor. (Martijn Faassen) - Multiple views on the same file. (Tony J Ibbs) - Store breakpoints in a global (per-project) database (GvR); Dirk Heise adds: save some space-trimmed context and search around when reopening a file that might have been edited by someone else. - Capture menu events in extensions without changing the IDLE source. (Matthias Barmeier) - Use overlapping panels (a "notebook" in MFC terms I think) for info that doesn't need to be accessible simultaneously (e.g. HTML source and output). Use multi-pane windows for info that does need to be shown together (e.g. class browser and source). (Albert Brandl) - A project should invisibly track all symbols, for instant search, replace and cross-ref. Projects should be allowed to span multiple directories, hosts, etc. Project management files are placed in a directory you specify. A global mapping between project names and project directories should exist [not so sure --GvR]. (Tim Peters) - Merge attr-tips and auto-expand. (Mark Hammond, Tim Peters) - Python Shell should behave more like a "shell window" as users know it -- i.e. you can only edit the current command, and the cursor can't 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) DONE - Config files still editable outside the preferences dialog. (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 blank lines rather than deciding you're not on the last line. (me) - Run command (F5 c.s.) should be more like Pythonwin's Run -- a 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) 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) REJECT FIRST, LATTER DONE - 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) FIRST CUT
Save
cmd:
run