cpython/Lib/idlelib
Ronald Oussoren 1cb08c3f83 Fixes #11088: IDLE crashes when using F5 to run a script on OSX with Tk 8.5
Without this patch IDLE will crash reliably on OSX when Tkinter
is linked to TkCocoa 8.5.x.

To reproduce:

* Create a new file (script.py) with the following two lines:

x = input('prompt: ')
print(x)

* Save the script

* Run the script using the F5 keyboard shortcut
  (running from the menu works fine)

The patch is a fairly crude hack, but we haven't found a better
workaround for this Tk bug yet.
2011-05-17 14:52:21 +02:00
..
Icons
AutoComplete.py Merged revisions 69846 via svnmerge from 2009-02-21 20:59:32 +00:00
AutoCompleteWindow.py Tkinter, step 2: adapt imports. 2008-05-17 18:39:55 +00:00
AutoExpand.py
Bindings.py #6075: make idle work with both Carbon AquaTk and Cocoa AquaTk. Patch by Kevin Walzer and Ned Deily. 2010-12-19 10:10:32 +00:00
CREDITS.txt Merged revisions 71812 via svnmerge from 2009-04-26 01:33:55 +00:00
CallTipWindow.py Tkinter, step 2: adapt imports. 2008-05-17 18:39:55 +00:00
CallTips.py Removed the API to create unbound methods and simplified the API for bound methods. The signature is PyMethod_New(func, instance). 2007-11-27 10:40:20 +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 Tkinter, step 2: adapt imports. 2008-05-17 18:39:55 +00:00
ColorDelegator.py Tkinter, step 2: adapt imports. 2008-05-17 18:39:55 +00:00
Debugger.py Tkinter, step 2: adapt imports. 2008-05-17 18:39:55 +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 Fix nit. 2011-04-12 18:57:55 -07:00
FileList.py Merged revisions 87119 via svnmerge from 2010-12-07 15:31:07 +00:00
FormatParagraph.py #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 11:05:33 +02:00
GrepDialog.py Tkinter, step 2: adapt imports. 2008-05-17 18:39:55 +00:00
HISTORY.txt #11515: fix several typos. Patch by Piotr Kasprzyk. 2011-03-15 05:18:48 +02:00
HyperParser.py Switch to absolute imports to support direct execution of modules. Many 2007-08-22 23:01:33 +00:00
IOBinding.py Issue #11896: Save on Close failed despite selecting "Yes" in dialog. 2011-05-12 15:25:24 -04: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 for issue5194, based on a patch by Ned Deily. 2009-02-12 15:01:44 +00:00
MultiStatusBar.py Tkinter, step 2: adapt imports. 2008-05-17 18:39:55 +00:00
NEWS.txt Merge from 3.1 2011-05-14 17:22:14 -04:00
ObjectBrowser.py Tkinter, step 2: adapt imports. 2008-05-17 18:39:55 +00:00
OutputWindow.py Merged revisions 72227 via svnmerge from 2009-05-06 03:23:37 +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 Tkinter, step 2: adapt imports. 2008-05-17 18:39:55 +00:00
PyParse.py Fix an issue with str.translate() in IDLE -- str.translate() only accepts 2007-11-21 20:07:54 +00:00
PyShell.py #10907: Warn OS X 10.6 IDLE users to use ActiveState Tcl/Tk 8.5, 2011-01-15 04:37:12 +00:00
README.txt Updated tracker link. 2007-08-31 17:25:37 +00:00
RemoteDebugger.py Merged revisions 60990-61002 via svnmerge from 2008-02-23 18:30:17 +00:00
RemoteObjectBrowser.py Merged revisions 88258 via svnmerge from 2011-01-30 19:40:09 +00:00
ReplaceDialog.py Tkinter, step 2: adapt imports. 2008-05-17 18:39:55 +00:00
RstripExtension.py Issue 5150: Add rstrip() menu option to IDLE. 2009-05-29 01:22:18 +00:00
ScriptBinding.py Fixes #11088: IDLE crashes when using F5 to run a script on OSX with Tk 8.5 2011-05-17 14:48:40 +02:00
ScrolledList.py Tkinter, step 2: adapt imports. 2008-05-17 18:39:55 +00:00
SearchDialog.py Tkinter, step 2: adapt imports. 2008-05-17 18:39:55 +00:00
SearchDialogBase.py Tkinter, step 2: adapt imports. 2008-05-17 18:39:55 +00:00
SearchEngine.py Tkinter, step 2: adapt imports. 2008-05-17 18:39:55 +00:00
StackViewer.py Tkinter, step 2: adapt imports. 2008-05-17 18:39:55 +00:00
TODO.txt
ToolTip.py Tkinter, step 2: adapt imports. 2008-05-17 18:39:55 +00:00
TreeWidget.py Tkinter, step 2: adapt imports. 2008-05-17 18:39:55 +00:00
UndoDelegator.py Tkinter, step 2: adapt imports. 2008-05-17 18:39:55 +00:00
WidgetRedirector.py Tkinter, step 2: adapt imports. 2008-05-17 18:39:55 +00:00
WindowList.py #4455: IDLE failed to display the windows list when two windows have the same title. 2008-11-28 23:28:42 +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 Tkinter, step 2: adapt imports. 2008-05-17 18:39:55 +00:00
config-extensions.def Issue 5150: Add rstrip() menu option to IDLE. 2009-05-29 01:22:18 +00:00
config-highlight.def
config-keys.def Merged revisions 88236 via svnmerge from 2011-01-29 19:22:26 +00:00
config-main.def
configDialog.py Merged revisions 74055 via svnmerge from 2009-08-13 12:26:19 +00:00
configHandler.py Merged revisions 70578,70599,70641-70642,70650,70660-70661,70674,70691,70697-70698,70700,70704 via svnmerge from 2009-03-30 14:51:56 +00:00
configHelpSourceEdit.py Tkinter, step 2: adapt imports. 2008-05-17 18:39:55 +00:00
configSectionNameDialog.py Tkinter, step 2: adapt imports. 2008-05-17 18:39:55 +00:00
dynOptionMenuWidget.py Tkinter, step 2: adapt imports. 2008-05-17 18:39:55 +00:00
extend.txt #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 11:05:33 +02:00
help.txt Recorded merge of revisions 68153 via svnmerge from 2009-01-02 13:10:34 +00:00
idle.bat Issue #6378: Further adjust idle.bat to start associated Python 2011-05-14 17:20:09 -04:00
idle.py Merged revisions 72226 via svnmerge from 2009-05-06 03:38:31 +00:00
idle.pyw Merged revisions 56443-56466 via svnmerge from 2007-07-20 04:05:57 +00:00
idlever.py Bump to 3.2.1b1. 2011-05-08 09:03:36 +02:00
keybindingDialog.py Use of 'filter' in keybindingDialog.py was causing 2009-04-27 05:36:55 +00:00
macosxSupport.py #11565: Merge with 3.1. 2011-03-16 11:35:38 +02:00
rpc.py Merged revisions 74745 via svnmerge from 2009-09-11 22:36:27 +00:00
run.py Merged revisions 74446-74449 via svnmerge from 2009-08-14 15:05:30 +00:00
tabbedpages.py Tkinter, step 2: adapt imports. 2008-05-17 18:39:55 +00:00
testcode.py
textView.py Merged revisions 82057 via svnmerge from 2010-06-17 21:45:56 +00:00

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