cpython/Lib/idlelib
Kurt B. Kaiser 44fa8f650f Make IDLE's file decode more robust.
1. coding_spec() only looks at first two lines of bytes to avoid
   a UnicodeDecodeError if rest of file is e.g. latin-1
2. coding_spec() handles \n or \r
3. Clarify that locale_encoding is used by calling it that.  However, it's
   still called IOBinding.encoding in other parts of IDLE and that usage
   needs to be checked to verify that's still what is desired.
4. Return None from _decode() if decoding fails.
5. Name the vars representing bytes and strings or chars appropriately.
2007-09-07 05:06:21 +00:00
..
Icons
AutoComplete.py Switch to absolute imports to support direct execution of modules. Many 2007-08-22 23:01:33 +00:00
AutoCompleteWindow.py Switch to absolute imports to support direct execution of modules. Many 2007-08-22 23:01:33 +00:00
AutoExpand.py
Bindings.py Switch to absolute imports to support direct execution of modules. Many 2007-08-22 23:01:33 +00:00
CREDITS.txt Convert IDLE's CREDITS file to unicode. 2007-08-31 18:37:07 +00:00
CallTipWindow.py
CallTips.py Use inspect.py and clean up. 2007-08-30 06:35:15 +00:00
ChangeLog
ClassBrowser.py Switch to absolute imports to support direct execution of modules. Many 2007-08-22 23:01:33 +00:00
CodeContext.py Switch to absolute imports to support direct execution of modules. Many 2007-08-22 23:01:33 +00:00
ColorDelegator.py Conform to py3k dict.{keys, items, values} with some advice from 2b3 2007-08-23 05:25:55 +00:00
Debugger.py 1. Debugger was failing to start due to DictProxy limitations. 2007-08-29 18:44:24 +00:00
Delegator.py Conform to py3k dict.{keys, items, values} with some advice from 2b3 2007-08-23 05:25:55 +00:00
EditorWindow.py 1. Fail gracefully if the file fails to decode when loaded. 2007-09-06 04:03:04 +00:00
FileList.py 1. Fail gracefully if the file fails to decode when loaded. 2007-09-06 04:03:04 +00:00
FormatParagraph.py Switch to absolute imports to support direct execution of modules. Many 2007-08-22 23:01:33 +00:00
GrepDialog.py Switch to absolute imports to support direct execution of modules. Many 2007-08-22 23:01:33 +00:00
HISTORY.txt
HyperParser.py Switch to absolute imports to support direct execution of modules. Many 2007-08-22 23:01:33 +00:00
IOBinding.py Make IDLE's file decode more robust. 2007-09-07 05:06:21 +00:00
IdleHistory.py Switch to absolute imports to support direct execution of modules. Many 2007-08-22 23:01:33 +00:00
MultiCall.py Fix bug introduced at r54854 to mass replace string fcns with methods :-) 2007-08-22 19:41:43 +00:00
MultiStatusBar.py
NEWS.txt IDLE's py3k NEWS 2007-08-30 22:16:49 +00:00
ObjectBrowser.py Conform to py3k dict.{keys, items, values} with some advice from 2b3 2007-08-23 05:25:55 +00:00
OutputWindow.py Switch to absolute imports to support direct execution of modules. Many 2007-08-22 23:01:33 +00:00
ParenMatch.py Switch to absolute imports to support direct execution of modules. Many 2007-08-22 23:01:33 +00:00
PathBrowser.py Switch to absolute imports to support direct execution of modules. Many 2007-08-22 23:01:33 +00:00
Percolator.py Switch to absolute imports to support direct execution of modules. Many 2007-08-22 23:01:33 +00:00
PyParse.py Fix typo. 2007-08-13 06:02:09 +00:00
PyShell.py 1. Don't encode input strings to bytes. 2007-08-31 04:15:13 +00:00
README.txt Updated tracker link. 2007-08-31 17:25:37 +00:00
RemoteDebugger.py 1. Debugger was failing to start due to DictProxy limitations. 2007-08-29 18:44:24 +00:00
RemoteObjectBrowser.py Switch to absolute imports to support direct execution of modules. Many 2007-08-22 23:01:33 +00:00
ReplaceDialog.py Switch to absolute imports to support direct execution of modules. Many 2007-08-22 23:01:33 +00:00
ScriptBinding.py Switch to absolute imports to support direct execution of modules. Many 2007-08-22 23:01:33 +00:00
ScrolledList.py Fix most trivially-findable print statements. 2007-02-09 05:37:30 +00:00
SearchDialog.py Switch to absolute imports to support direct execution of modules. Many 2007-08-22 23:01:33 +00:00
SearchDialogBase.py
SearchEngine.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
StackViewer.py Conform to py3k dict.{keys, items, values} with some advice from 2b3 2007-08-23 05:25:55 +00:00
TODO.txt
ToolTip.py
TreeWidget.py Fix raise with 2to3 2007-08-23 01:06:15 +00:00
UndoDelegator.py Switch to absolute imports to support direct execution of modules. Many 2007-08-22 23:01:33 +00:00
WidgetRedirector.py Merged revisions 56301-56442 via svnmerge from 2007-07-18 18:15:48 +00:00
WindowList.py Conform to py3k dict.{keys, items, values} with some advice from 2b3 2007-08-23 05:25:55 +00:00
ZoomHeight.py Switch to absolute imports to support direct execution of modules. Many 2007-08-22 23:01:33 +00:00
__init__.py
aboutDialog.py Eliminate latin-1 encoding 2007-08-31 21:42:36 +00:00
config-extensions.def
config-highlight.def
config-keys.def
config-main.def
configDialog.py Conform to py3k dict.{keys, items, values} with some advice from 2b3 2007-08-23 05:25:55 +00:00
configHandler.py Conform to py3k dict.{keys, items, values} with some advice from 2b3 2007-08-23 05:25:55 +00:00
configHelpSourceEdit.py Fix most trivially-findable print statements. 2007-02-09 05:37:30 +00:00
configSectionNameDialog.py Fix most trivially-findable print statements. 2007-02-09 05:37:30 +00:00
dynOptionMenuWidget.py Conform to py3k dict.{keys, items, values} with some advice from 2b3 2007-08-23 05:25:55 +00:00
extend.txt
help.txt Merged revisions 53623-53858 via svnmerge from 2007-02-23 15:07:44 +00:00
idle.bat
idle.py Switch to absolute imports to support direct execution of modules. Many 2007-08-22 23:01:33 +00:00
idle.pyw Merged revisions 56443-56466 via svnmerge from 2007-07-20 04:05:57 +00:00
idlever.py Bump IDLE version. 2007-08-30 20:51:49 +00:00
keybindingDialog.py Conform to py3k dict.{keys, items, values} with some advice from 2b3 2007-08-23 05:25:55 +00:00
macosxSupport.py Switch to absolute imports to support direct execution of modules. Many 2007-08-22 23:01:33 +00:00
rpc.py Fix raise with 2to3 2007-08-23 01:06:15 +00:00
run.py Switch to absolute imports to support direct execution of modules. Many 2007-08-22 23:01:33 +00:00
tabpage.py Conform to py3k dict.{keys, items, values} with some advice from 2b3 2007-08-23 05:25:55 +00:00
testcode.py
textView.py

README.txt

IDLE is Python's Tkinter-based Integrated DeveLopment Environment.

IDLE emphasizes a lightweight, clean design with a simple user interface.
Although it is suitable for beginners, even advanced users will find that
IDLE has everything they really need to develop pure Python code.

IDLE features a multi-window text editor with multiple undo, Python colorizing,
and many other capabilities, e.g. smart indent, call tips, and autocompletion.

The editor has comprehensive search functions, including searching through
multiple files.  Class browsers and path browsers provide fast access to
code objects from a top level viewpoint without dealing with code folding.

There is a Python Shell window which features colorizing and command recall.

IDLE executes Python code in a separate process, which is restarted for each
Run (F5) initiated from an editor window.  The environment can also be 
restarted from the Shell window without restarting IDLE.

This enhancement has often been requested, and is now finally available.  The
magic "reload/import *" incantations are no longer required when editing and
testing a module two or three steps down the import chain.

(Personal firewall software may warn about the connection IDLE makes to its
subprocess using this computer's internal loopback interface.  This connection
is not visible on any external interface and no data is sent to or received
from the Internet.)

It is possible to interrupt tightly looping user code, even on Windows.

Applications which cannot support subprocesses and/or sockets can still run
IDLE in a single process.

IDLE has an integrated debugger with stepping, persistent breakpoints, and call
stack visibility.

There is a GUI configuration manager which makes it easy to select fonts,
colors, keybindings, and startup options.  This facility includes a feature
which allows the user to specify additional help sources, either locally or on
the web.

IDLE is coded in 100% pure Python, using the Tkinter GUI toolkit (Tk/Tcl)
and is cross-platform, working on Unix, Mac, and Windows.

IDLE accepts command line arguments.  Try idle -h to see the options.


If you find bugs or have suggestions or patches, let us know about
them by using the Python issue tracker:

http://bugs.python.org

For further details and links, read the Help files and check the IDLE home
page at

http://www.python.org/idle/

There is a mail list for IDLE: idle-dev@python.org.  You can join at

http://mail.python.org/mailman/listinfo/idle-dev