Psyduck - 可達鴨 之 鴨力山大2


Server : LiteSpeed
System : Linux premium217.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User : alloknri ( 880)
PHP Version : 8.1.34
Disable Function : NONE
Directory :  /opt/alt/python35/lib64/python3.5/idlelib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/alt/python35/lib64/python3.5/idlelib/TODO.txt
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
Name
Size
Permissions
Options
Icons
--
drwxr-xr-x
__pycache__
--
drwxr-xr-x
idle_test
--
drwxr-xr-x
AutoComplete.py
8.985 KB
-rw-r--r--
AutoCompleteWindow.py
17.323 KB
-rw-r--r--
AutoExpand.py
3.315 KB
-rw-r--r--
Bindings.py
3.038 KB
-rw-r--r--
CREDITS.txt
1.822 KB
-rw-r--r--
CallTipWindow.py
5.894 KB
-rw-r--r--
CallTips.py
5.793 KB
-rw-r--r--
ChangeLog
55.066 KB
-rw-r--r--
ClassBrowser.py
6.835 KB
-rw-r--r--
CodeContext.py
8.161 KB
-rw-r--r--
ColorDelegator.py
10.35 KB
-rw-r--r--
Debugger.py
18.318 KB
-rw-r--r--
Delegator.py
1.019 KB
-rw-r--r--
EditorWindow.py
64.058 KB
-rw-r--r--
FileList.py
3.724 KB
-rw-r--r--
FormatParagraph.py
7.116 KB
-rw-r--r--
GrepDialog.py
5.004 KB
-rw-r--r--
HISTORY.txt
10.07 KB
-rw-r--r--
HyperParser.py
12.575 KB
-rw-r--r--
IOBinding.py
20.116 KB
-rw-r--r--
IdleHistory.py
3.957 KB
-rw-r--r--
MultiCall.py
18.136 KB
-rw-r--r--
MultiStatusBar.py
1.316 KB
-rw-r--r--
NEWS.txt
15.172 KB
-rw-r--r--
NEWS2x.txt
26.535 KB
-rw-r--r--
ObjectBrowser.py
3.882 KB
-rw-r--r--
OutputWindow.py
4.291 KB
-rw-r--r--
ParenMatch.py
6.557 KB
-rw-r--r--
PathBrowser.py
3.132 KB
-rw-r--r--
Percolator.py
3.104 KB
-rw-r--r--
PyParse.py
19.981 KB
-rw-r--r--
PyShell.py
57.467 KB
-rwxr-xr-x
README.txt
7.706 KB
-rw-r--r--
RemoteDebugger.py
11.726 KB
-rw-r--r--
RemoteObjectBrowser.py
0.941 KB
-rw-r--r--
ReplaceDialog.py
7.306 KB
-rw-r--r--
RstripExtension.py
1.025 KB
-rw-r--r--
ScriptBinding.py
7.872 KB
-rw-r--r--
ScrolledList.py
4.272 KB
-rw-r--r--
SearchDialog.py
3.054 KB
-rw-r--r--
SearchDialogBase.py
6.845 KB
-rw-r--r--
SearchEngine.py
7.31 KB
-rw-r--r--
StackViewer.py
4.322 KB
-rw-r--r--
TODO.txt
8.279 KB
-rw-r--r--
ToolTip.py
3.099 KB
-rw-r--r--
TreeWidget.py
14.672 KB
-rw-r--r--
UndoDelegator.py
10.723 KB
-rw-r--r--
WidgetRedirector.py
6.776 KB
-rw-r--r--
WindowList.py
2.414 KB
-rw-r--r--
ZoomHeight.py
1.27 KB
-rw-r--r--
__init__.py
0.327 KB
-rw-r--r--
__main__.py
0.155 KB
-rw-r--r--
aboutDialog.py
6.823 KB
-rw-r--r--
config-extensions.def
2.896 KB
-rw-r--r--
config-highlight.def
2.456 KB
-rw-r--r--
config-keys.def
7.595 KB
-rw-r--r--
config-main.def
2.503 KB
-rw-r--r--
configDialog.py
63.536 KB
-rw-r--r--
configHandler.py
31.69 KB
-rw-r--r--
configHelpSourceEdit.py
6.657 KB
-rw-r--r--
configSectionNameDialog.py
3.913 KB
-rw-r--r--
dynOptionMenuWidget.py
1.943 KB
-rw-r--r--
extend.txt
3.557 KB
-rw-r--r--
help.html
42.394 KB
-rw-r--r--
help.py
10.695 KB
-rw-r--r--
help.txt
17.48 KB
-rw-r--r--
idle.py
0.442 KB
-rw-r--r--
idle.pyw
0.557 KB
-rw-r--r--
idlever.py
0.405 KB
-rw-r--r--
keybindingDialog.py
12.125 KB
-rw-r--r--
macosxSupport.py
8.48 KB
-rw-r--r--
rpc.py
20.297 KB
-rw-r--r--
run.py
13.544 KB
-rw-r--r--
tabbedpages.py
17.986 KB
-rw-r--r--
textView.py
3.339 KB
-rw-r--r--