cpython/Lib/idlelib
Thomas Wouters fc7bb8c786 Merged revisions 53304-53433,53435-53450 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r53304 | vinay.sajip | 2007-01-09 15:50:28 +0100 (Tue, 09 Jan 2007) | 1 line

  Bug #1627575: Added _open() method to FileHandler which can be used to reopen files. The FileHandler instance now saves the encoding (which can be None) in an attribute called "encoding".
........
  r53305 | vinay.sajip | 2007-01-09 15:51:36 +0100 (Tue, 09 Jan 2007) | 1 line

  Added entry about addition of _open() method to logging.FileHandler.
........
  r53306 | vinay.sajip | 2007-01-09 15:54:56 +0100 (Tue, 09 Jan 2007) | 1 line

  Added a docstring
........
  r53316 | thomas.heller | 2007-01-09 20:19:33 +0100 (Tue, 09 Jan 2007) | 4 lines

  Verify the sizes of the basic ctypes data types against the struct
  module.

  Will backport to release25-maint.
........
  r53340 | gustavo.niemeyer | 2007-01-10 17:13:40 +0100 (Wed, 10 Jan 2007) | 3 lines

  Mention in the int() docstring that a base zero has meaning, as
  stated in http://docs.python.org/lib/built-in-funcs.html as well.
........
  r53341 | gustavo.niemeyer | 2007-01-10 17:15:48 +0100 (Wed, 10 Jan 2007) | 2 lines

  Minor change in int() docstring for proper spacing.
........
  r53358 | thomas.heller | 2007-01-10 21:12:13 +0100 (Wed, 10 Jan 2007) | 1 line

  Change the ctypes version number to "1.1.0".
........
  r53361 | thomas.heller | 2007-01-10 21:51:19 +0100 (Wed, 10 Jan 2007) | 1 line

  Must change the version number in the _ctypes extension as well.
........
  r53362 | guido.van.rossum | 2007-01-11 00:12:56 +0100 (Thu, 11 Jan 2007) | 3 lines

  Fix the signature of log_error().  (A subclass that did the right thing
  was getting complaints from pychecker.)
........
  r53370 | matthias.klose | 2007-01-11 11:26:31 +0100 (Thu, 11 Jan 2007) | 2 lines

  - Make the documentation match the code and the docstring
........
  r53375 | matthias.klose | 2007-01-11 12:44:04 +0100 (Thu, 11 Jan 2007) | 2 lines

  - idle: Honor the "Cancel" action in the save dialog (Debian bug #299092).
........
  r53381 | raymond.hettinger | 2007-01-11 19:22:55 +0100 (Thu, 11 Jan 2007) | 1 line

  SF #1486663 -- Allow keyword args in subclasses of set() and frozenset().
........
  r53388 | thomas.heller | 2007-01-11 22:18:56 +0100 (Thu, 11 Jan 2007) | 4 lines

  Fixes for 64-bit Windows: In ctypes.wintypes, correct the definitions
  of HANDLE, WPARAM, LPARAM data types.  Make parameterless foreign
  function calls work.
........
  r53390 | thomas.heller | 2007-01-11 22:23:12 +0100 (Thu, 11 Jan 2007) | 2 lines

  Correct the comments: the code is right.
........
  r53393 | brett.cannon | 2007-01-12 08:27:52 +0100 (Fri, 12 Jan 2007) | 3 lines

  Fix error where the end of a funcdesc environment was accidentally moved too
  far down.
........
  r53397 | anthony.baxter | 2007-01-12 10:35:56 +0100 (Fri, 12 Jan 2007) | 3 lines

  add parsetok.h as a dependency - previously, changing this file doesn't
  cause the right files to be rebuilt.
........
  r53401 | thomas.heller | 2007-01-12 21:08:19 +0100 (Fri, 12 Jan 2007) | 3 lines

  Avoid warnings in the test suite because ctypes.wintypes cannot be
  imported on non-windows systems.
........
  r53402 | thomas.heller | 2007-01-12 21:17:34 +0100 (Fri, 12 Jan 2007) | 6 lines

  patch #1610795: BSD version of ctypes.util.find_library, by Martin
  Kammerhofer.

  release25-maint backport candidate, but the release manager has to
  decide.
........
  r53403 | thomas.heller | 2007-01-12 21:21:53 +0100 (Fri, 12 Jan 2007) | 3 lines

  patch #1610795: BSD version of ctypes.util.find_library, by Martin
  Kammerhofer.
........
  r53406 | brett.cannon | 2007-01-13 01:29:49 +0100 (Sat, 13 Jan 2007) | 2 lines

  Deprecate the sets module.
........
  r53407 | georg.brandl | 2007-01-13 13:31:51 +0100 (Sat, 13 Jan 2007) | 3 lines

  Fix typo.
........
  r53409 | marc-andre.lemburg | 2007-01-13 22:00:08 +0100 (Sat, 13 Jan 2007) | 16 lines

  Bump version number and change copyright year.

  Add new API linux_distribution() which supports reading the full distribution
  name and also knows how to parse LSB-style release files.

  Redirect the old dist() API to the new API (using the short distribution name
  taken from the release file filename).

  Add branch and revision to _sys_version().

  Add work-around for Cygwin to libc_ver().

  Add support for IronPython (thanks for Anthony Baxter) and make
  Jython support more robust.
........
  r53410 | neal.norwitz | 2007-01-13 22:22:37 +0100 (Sat, 13 Jan 2007) | 1 line

  Fix grammar in docstrings
........
  r53411 | marc-andre.lemburg | 2007-01-13 23:32:21 +0100 (Sat, 13 Jan 2007) | 9 lines

  Add parameter sys_version to _sys_version().

  Change the cache for _sys_version() to take the parameter into account.

  Add support for parsing the IronPython 1.0.1 sys.version value - even
  though it still returns '1.0.0'; the version string no longer includes
  the patch level.
........
  r53412 | peter.astrand | 2007-01-13 23:35:35 +0100 (Sat, 13 Jan 2007) | 1 line

  Fix for bug #1634343: allow specifying empty arguments on Windows
........
  r53414 | marc-andre.lemburg | 2007-01-13 23:59:36 +0100 (Sat, 13 Jan 2007) | 14 lines

  Add Python implementation to the machine details.

  Pretty-print the Python version used for running PyBench.

  Let the user know when calibration has finished.

  [ 1563844 ] pybench support for IronPython:

  Simplify Unicode version detection.

  Make garbage collection and check interval settings optional if
  the Python implementation doesn't support thess (e.g. IronPython).
........
  r53415 | marc-andre.lemburg | 2007-01-14 00:13:54 +0100 (Sun, 14 Jan 2007) | 5 lines

  Use defaults if sys.executable isn't set (e.g. on Jython).

  This change allows running PyBench under Jython.
........
  r53416 | marc-andre.lemburg | 2007-01-14 00:15:33 +0100 (Sun, 14 Jan 2007) | 3 lines

  Jython doesn't have sys.setcheckinterval() - ignore it in that case.
........
  r53420 | gerhard.haering | 2007-01-14 02:43:50 +0100 (Sun, 14 Jan 2007) | 29 lines

  Merged changes from standalone version 2.3.3. This should probably all be
  merged into the 2.5 maintenance branch:

  - self->statement was not checked while fetching data, which could
    lead to crashes if you used the pysqlite API in unusual ways.
    Closing the cursor and continuing to fetch data was enough.

  - Converters are stored in a converters dictionary. The converter name
    is uppercased first. The old upper-casing algorithm was wrong and
    was replaced by a simple call to the Python string's upper() method
    instead.

  -Applied patch by Glyph Lefkowitz that fixes the problem with
   subsequent SQLITE_SCHEMA errors.

  - Improvement to the row type: rows can now be iterated over and have a keys()
    method. This improves compatibility with both tuple and dict a lot.

  - A bugfix for the subsecond resolution in timestamps.

  - Corrected the way the flags PARSE_DECLTYPES and PARSE_COLNAMES are
    checked for. Now they work as documented.

  - gcc on Linux sucks. It exports all symbols by default in shared
    libraries, so if symbols are not unique it can lead to problems with
    symbol lookup.  pysqlite used to crash under Apache when mod_cache
    was enabled because both modules had the symbol cache_init. I fixed
    this by applying the prefix pysqlite_ almost everywhere. Sigh.
........
  r53423 | guido.van.rossum | 2007-01-14 04:46:33 +0100 (Sun, 14 Jan 2007) | 2 lines

  Remove a dependency of this test on $COLUMNS.
........
  r53425 | ka-ping.yee | 2007-01-14 05:25:15 +0100 (Sun, 14 Jan 2007) | 3 lines

  Handle old-style instances more gracefully (display documentation on
  the relevant class instead of documentation on <type 'instance'>).
........
  r53440 | vinay.sajip | 2007-01-14 22:49:59 +0100 (Sun, 14 Jan 2007) | 1 line

  Added WatchedFileHandler (based on SF patch #1598415)
........
  r53441 | vinay.sajip | 2007-01-14 22:50:50 +0100 (Sun, 14 Jan 2007) | 1 line

  Added documentation for WatchedFileHandler (based on SF patch #1598415)
........
  r53442 | guido.van.rossum | 2007-01-15 01:02:35 +0100 (Mon, 15 Jan 2007) | 2 lines

  Doc patch matching r53434 (htonl etc. now always take/return positive ints).
........
2007-01-15 15:49:28 +00:00
..
Icons Added icon for IDLE on OS X 2003-05-17 15:14:10 +00:00
__init__.py It /is/ a package... 2003-06-12 03:55:24 +00:00
aboutDialog.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
AutoComplete.py Merge IDLE-syntax-branch r39668:41449 into trunk 2005-11-18 22:05:48 +00:00
AutoCompleteWindow.py Merged revisions 53005-53303 via svnmerge from 2007-01-09 23:18:33 +00:00
AutoExpand.py M AutoExpand.py 2003-01-04 01:43:53 +00:00
Bindings.py Merge current trunk into p3yk. This includes the PyNumber_Index API change, 2006-08-21 19:07:27 +00:00
CallTips.py Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
CallTipWindow.py Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
ChangeLog [ 1243081 ] repair typos 2005-07-22 18:39:19 +00:00
ClassBrowser.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
CodeContext.py Four months of trunk changes (including a few releases...) 2006-12-13 04:49:30 +00:00
ColorDelegator.py Anna Ravenscroft identified many occurrences of "file" used to open a file 2006-08-24 02:58:11 +00:00
config-extensions.def Default two second delay on attribute pop-up, less noisy interface. 2005-11-22 01:52:22 +00:00
config-highlight.def 1. Make builtin foreground Royal Purple instead of Barney Purple. 2004-03-16 03:36:41 +00:00
config-keys.def Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
config-main.def Add config-main.def option to make the 'history' feature non-cyclic. 2005-02-03 01:37:14 +00:00
configDialog.py Remove has_key() references from idlelib. IDLE still doesn't run due 2006-08-22 15:45:46 +00:00
configHandler.py Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
configHelpSourceEdit.py Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
configSectionNameDialog.py M Bindings.py 2003-01-14 22:03:31 +00:00
CREDITS.txt Merge current trunk into p3yk. This includes the PyNumber_Index API change, 2006-08-21 19:07:27 +00:00
Debugger.py Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
Delegator.py py-cvs-rel2_1 (Rev 1.3) merge - whitespace normalization 2001-07-13 00:10:02 +00:00
dynOptionMenuWidget.py Whitespace Normalization 2002-12-31 16:03:23 +00:00
EditorWindow.py Merged revisions 53304-53433,53435-53450 via svnmerge from 2007-01-15 15:49:28 +00:00
extend.txt 1. Polish variables in EditorWindow extension loading and Tkinter variable code. 2004-04-24 03:01:48 +00:00
FileList.py Remove has_key() references from idlelib. IDLE still doesn't run due 2006-08-22 15:45:46 +00:00
FormatParagraph.py format_paragraph_event(): Patch 961387 introduced a bug here, causing 2004-10-24 23:45:42 +00:00
GrepDialog.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
help.txt 1. Patch 1196895 Jeff Shute: 2005-06-12 04:33:30 +00:00
HISTORY.txt Update NEWS.txt and move info on release 0.8.1 and earlier to HISTORY.txt 2003-06-14 02:51:06 +00:00
HyperParser.py Remove usage of backticks. 2006-08-25 02:59:59 +00:00
idle.bat Initial revision 2000-08-15 01:13:23 +00:00
idle.py Python Bug 775061 2003-09-10 02:42:18 +00:00
idle.pyw Fix a bug in Rev 1.10 - Windows can't handle a leading ':' if the 2003-05-24 21:01:39 +00:00
IdleHistory.py Remove dead code 2005-06-21 02:42:17 +00:00
idlever.py Merge current trunk into p3yk. This includes the PyNumber_Index API change, 2006-08-21 19:07:27 +00:00
IOBinding.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
keybindingDialog.py Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
macosxSupport.py Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
MultiCall.py Remove has_key() references from idlelib. IDLE still doesn't run due 2006-08-22 15:45:46 +00:00
MultiStatusBar.py Remove has_key() references from idlelib. IDLE still doesn't run due 2006-08-22 15:45:46 +00:00
NEWS.txt Merged revisions 53005-53303 via svnmerge from 2007-01-09 23:18:33 +00:00
ObjectBrowser.py Remove has_key() references from idlelib. IDLE still doesn't run due 2006-08-22 15:45:46 +00:00
OutputWindow.py SF patch #768187: replace apply(f, args, kwds) with f(*args, **kwds) 2003-07-09 18:48:24 +00:00
ParenMatch.py Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
PathBrowser.py Remove has_key() references from idlelib. IDLE still doesn't run due 2006-08-22 15:45:46 +00:00
Percolator.py SF patch #768187: replace apply(f, args, kwds) with f(*args, **kwds) 2003-07-09 18:48:24 +00:00
PyParse.py Merge IDLE-syntax-branch r39668:41449 into trunk 2005-11-18 22:05:48 +00:00
PyShell.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
README.txt Added a banner to the shell startup message discussing possible 2003-07-27 03:24:19 +00:00
RemoteDebugger.py Remove has_key() references from idlelib. IDLE still doesn't run due 2006-08-22 15:45:46 +00:00
RemoteObjectBrowser.py GvR's rpc patch 2002-05-26 13:36:41 +00:00
ReplaceDialog.py Merge Py Idle changes: 2002-09-18 02:56:10 +00:00
rpc.py Remove has_key() references from idlelib. IDLE still doesn't run due 2006-08-22 15:45:46 +00:00
run.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
ScriptBinding.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
ScrolledList.py py-cvs-rel2_1 (rev 1.5) merge - whitespace normalization 2001-07-14 01:23:30 +00:00
SearchDialog.py By default when getting the search menu, the currently highligted 2002-11-06 02:18:45 +00:00
SearchDialogBase.py Apply Nicolas Riley's Patch. 2002-11-21 03:02:17 +00:00
SearchEngine.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
StackViewer.py Remove dead code in get_stack(). 2002-12-02 05:08:54 +00:00
tabpage.py Whitespace Normalization 2002-12-31 16:03:23 +00:00
testcode.py Initial revision 2000-08-15 01:13:23 +00:00
textView.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
TODO.txt Update for release 2003-06-01 01:11:14 +00:00
ToolTip.py Fix main() call 2005-11-23 15:12:19 +00:00
TreeWidget.py Remove has_key() references from idlelib. IDLE still doesn't run due 2006-08-22 15:45:46 +00:00
UndoDelegator.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
WidgetRedirector.py Remove has_key() references from idlelib. IDLE still doesn't run due 2006-08-22 15:45:46 +00:00
WindowList.py Fix two errors that prevented "make libinstall" from working: 2006-04-17 23:13:00 +00:00
ZoomHeight.py Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00

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, let us know about them by using the
Python Bug Tracker:

http://sourceforge.net/projects/python

Patches are always appreciated at the Python Patch Tracker, and change
requests should be posted to the RFE Tracker.

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