451 lines
18 KiB
Plaintext
451 lines
18 KiB
Plaintext
What's New in IDLE 3.6.0?
|
||
===========================
|
||
*Release date: 2016-12-16?*
|
||
|
||
- Issue #15308: Add 'interrupt execution' (^C) to Shell menu.
|
||
Patch by Roger Serwy, updated by Bayard Randel.
|
||
|
||
- Issue #27922: Stop IDLE tests from 'flashing' gui widgets on the screen.
|
||
|
||
- Issue #27891: Consistently group and sort imports within idlelib modules.
|
||
|
||
- Issue #17642: add larger font sizes for classroom projection.
|
||
|
||
- Add version to title of IDLE help window.
|
||
|
||
- Issue #25564: In section on IDLE -- console differences, mention that
|
||
using exec means that __builtins__ is defined for each statement.
|
||
|
||
- Issue #27821: Fix 3.6.0a3 regression that prevented custom key sets
|
||
from being selected when no custom theme was defined.
|
||
|
||
- Issue #27714: text_textview and test_autocomplete now pass when re-run
|
||
in the same process. This occurs when test_idle fails when run with the
|
||
-w option but without -jn. Fix warning from test_config.
|
||
|
||
- Issue #27621: Put query response validation error messages in the query
|
||
box itself instead of in a separate massagebox. Redo tests to match.
|
||
Add Mac OSX refinements. Original patch by Mark Roseman.
|
||
|
||
- Issue #27620: Escape key now closes Query box as cancelled.
|
||
|
||
- Issue #27609: IDLE: tab after initial whitespace should tab, not
|
||
autocomplete. This fixes problem with writing docstrings at least
|
||
twice indented.
|
||
|
||
- Issue #27609: Explicitly return None when there are also non-None
|
||
returns. In a few cases, reverse a condition and eliminate a return.
|
||
|
||
- Issue #25507: IDLE no longer runs buggy code because of its tkinter imports.
|
||
Users must include the same imports required to run directly in Python.
|
||
|
||
- Issue #27173: Add 'IDLE Modern Unix' to the built-in key sets.
|
||
Make the default key set depend on the platform.
|
||
Add tests for the changes to the config module.
|
||
|
||
- Issue #27452: add line counter and crc to IDLE configHandler test dump.
|
||
|
||
- Issue #27477: IDLE search dialogs now use ttk widgets.
|
||
|
||
- Issue #27173: Add 'IDLE Modern Unix' to the built-in key sets.
|
||
Make the default key set depend on the platform.
|
||
Add tests for the changes to the config module.
|
||
|
||
- Issue #27452: make command line "idle-test> python test_help.py" work.
|
||
__file__ is relative when python is started in the file's directory.
|
||
|
||
- Issue #27452: add line counter and crc to IDLE configHandler test dump.
|
||
|
||
- Issue #27380: IDLE: add query.py with base Query dialog and ttk widgets.
|
||
Module had subclasses SectionName, ModuleName, and HelpSource, which are
|
||
used to get information from users by configdialog and file =>Load Module.
|
||
Each subclass has itw own validity checks. Using ModuleName allows users
|
||
to edit bad module names instead of starting over.
|
||
Add tests and delete the two files combined into the new one.
|
||
|
||
- Issue #27372: Test_idle no longer changes the locale.
|
||
|
||
- Issue #27365: Allow non-ascii chars in IDLE NEWS.txt, for contributor names.
|
||
|
||
- Issue #27245: IDLE: Cleanly delete custom themes and key bindings.
|
||
Previously, when IDLE was started from a console or by import, a cascade
|
||
of warnings was emitted. Patch by Serhiy Storchaka.
|
||
|
||
- Issue #24137: Run IDLE, test_idle, and htest with tkinter default root disabled.
|
||
Fix code and tests that fail with this restriction.
|
||
Fix htests to not create a second and redundant root and mainloop.
|
||
|
||
- Issue #27310: Fix IDLE.app failure to launch on OS X due to vestigial import.
|
||
|
||
- Issue #5124: Paste with text selected now replaces the selection on X11.
|
||
This matches how paste works on Windows, Mac, most modern Linux apps,
|
||
and ttk widgets. Original patch by Serhiy Storchaka.
|
||
|
||
- Issue #24750: Switch all scrollbars in IDLE to ttk versions.
|
||
Where needed, minimal tests are added to cover changes.
|
||
|
||
- Issue #24759: IDLE requires tk 8.5 and availability ttk widgets.
|
||
Delete now unneeded tk version tests and code for older versions.
|
||
Add test for IDLE syntax colorizer.
|
||
|
||
- Issue #27239: idlelib.macosx.isXyzTk functions initialize as needed.
|
||
|
||
- Issue #27262: move Aqua unbinding code, which enable context menus, to maxosx.
|
||
|
||
- Issue #24759: Make clear in idlelib.idle_test.__init__ that the directory
|
||
is a private implementation of test.test_idle and tool for maintainers.
|
||
|
||
- Issue #27196: Stop 'ThemeChanged' warnings when running IDLE tests.
|
||
These persisted after other warnings were suppressed in #20567.
|
||
Apply Serhiy Storchaka's update_idletasks solution to four test files.
|
||
Record this additional advice in idle_test/README.txt
|
||
|
||
- Issue #20567: Revise idle_test/README.txt with advice about avoiding
|
||
tk warning messages from tests. Apply advice to several IDLE tests.
|
||
|
||
- Issue # 24225: Update idlelib/README.txt with new file names
|
||
and event handlers.
|
||
|
||
- Issue #27156: Remove obsolete code not used by IDLE. Replacements:
|
||
1. help.txt, replaced by help.html, is out-of-date and should not be used.
|
||
Its dedicated viewer has be replaced by the html viewer in help.py.
|
||
2. 'import idlever; I = idlever.IDLE_VERSION' is the same as
|
||
'import sys; I = version[:version.index(' ')]'
|
||
3. After 'ob = stackviewer.VariablesTreeItem(*args)',
|
||
'ob.keys()' == 'list(ob.object.keys).
|
||
4. In macosc, runningAsOSXAPP == isAquaTk; idCarbonAquaTk == isCarbonTk
|
||
|
||
- Issue #27117: Make colorizer htest and turtledemo work with dark themes.
|
||
Move code for configuring text widget colors to a new function.
|
||
|
||
- Issue #24225: Rename many idlelib/*.py and idle_test/test_*.py files.
|
||
Edit files to replace old names with new names when the old name
|
||
referred to the module rather than the class it contained.
|
||
See the issue and IDLE section in What's New in 3.6 for more.
|
||
|
||
- Issue #26673: When tk reports font size as 0, change to size 10.
|
||
Such fonts on Linux prevented the configuration dialog from opening.
|
||
|
||
- Issue #21939: Add test for IDLE's percolator.
|
||
Original patch by Saimadhav Heblikar.
|
||
|
||
- Issue #21676: Add test for IDLE's replace dialog.
|
||
Original patch by Saimadhav Heblikar.
|
||
|
||
- Issue #18410: Add test for IDLE's search dialog.
|
||
Original patch by Westley Martínez.
|
||
|
||
- Issue #21703: Add test for undo delegator. Patch mostly by
|
||
Saimadhav Heblikar .
|
||
|
||
- Issue #27044: Add ConfigDialog.remove_var_callbacks to stop memory leaks.
|
||
|
||
- Issue #23977: Add more asserts to test_delegator.
|
||
|
||
- Issue #20640: Add tests for idlelib.configHelpSourceEdit.
|
||
Patch by Saimadhav Heblikar.
|
||
|
||
- In the 'IDLE-console differences' section of the IDLE doc, clarify
|
||
how running with IDLE affects sys.modules and the standard streams.
|
||
|
||
- Issue #25507: fix incorrect change in IOBinding that prevented printing.
|
||
Augment IOBinding htest to include all major IOBinding functions.
|
||
|
||
- Issue #25905: Revert unwanted conversion of ' to ’ RIGHT SINGLE QUOTATION
|
||
MARK in README.txt and open this and NEWS.txt with 'ascii'.
|
||
Re-encode CREDITS.txt to utf-8 and open it with 'utf-8'.
|
||
|
||
- Issue 15348: Stop the debugger engine (normally in a user process)
|
||
before closing the debugger window (running in the IDLE process).
|
||
This prevents the RuntimeErrors that were being caught and ignored.
|
||
|
||
- Issue #24455: Prevent IDLE from hanging when a) closing the shell while the
|
||
debugger is active (15347); b) closing the debugger with the [X] button
|
||
(15348); and c) activating the debugger when already active (24455).
|
||
The patch by Mark Roseman does this by making two changes.
|
||
1. Suspend and resume the gui.interaction method with the tcl vwait
|
||
mechanism intended for this purpose (instead of root.mainloop & .quit).
|
||
2. In gui.run, allow any existing interaction to terminate first.
|
||
|
||
- Change 'The program' to 'Your program' in an IDLE 'kill program?' message
|
||
to make it clearer that the program referred to is the currently running
|
||
user program, not IDLE itself.
|
||
|
||
- Issue #24750: Improve the appearance of the IDLE editor window status bar.
|
||
Patch by Mark Roseman.
|
||
|
||
- Issue #25313: Change the handling of new built-in text color themes to better
|
||
address the compatibility problem introduced by the addition of IDLE Dark.
|
||
Consistently use the revised idleConf.CurrentTheme everywhere in idlelib.
|
||
|
||
- Issue #24782: Extension configuration is now a tab in the IDLE Preferences
|
||
dialog rather than a separate dialog. The former tabs are now a sorted
|
||
list. Patch by Mark Roseman.
|
||
|
||
- Issue #22726: Re-activate the config dialog help button with some content
|
||
about the other buttons and the new IDLE Dark theme.
|
||
|
||
- Issue #24820: IDLE now has an 'IDLE Dark' built-in text color theme.
|
||
It is more or less IDLE Classic inverted, with a cobalt blue background.
|
||
Strings, comments, keywords, ... are still green, red, orange, ... .
|
||
To use it with IDLEs released before November 2015, hit the
|
||
'Save as New Custom Theme' button and enter a new name,
|
||
such as 'Custom Dark'. The custom theme will work with any IDLE
|
||
release, and can be modified.
|
||
|
||
- Issue #25224: README.txt is now an idlelib index for IDLE developers and
|
||
curious users. The previous user content is now in the IDLE doc chapter.
|
||
'IDLE' now means 'Integrated Development and Learning Environment'.
|
||
|
||
- Issue #24820: Users can now set breakpoint colors in
|
||
Settings -> Custom Highlighting. Original patch by Mark Roseman.
|
||
|
||
- Issue #24972: Inactive selection background now matches active selection
|
||
background, as configured by users, on all systems. Found items are now
|
||
always highlighted on Windows. Initial patch by Mark Roseman.
|
||
|
||
- Issue #24570: Idle: make calltip and completion boxes appear on Macs
|
||
affected by a tk regression. Initial patch by Mark Roseman.
|
||
|
||
- Issue #24988: Idle ScrolledList context menus (used in debugger)
|
||
now work on Mac Aqua. Patch by Mark Roseman.
|
||
|
||
- Issue #24801: Make right-click for context menu work on Mac Aqua.
|
||
Patch by Mark Roseman.
|
||
|
||
- Issue #25173: Associate tkinter messageboxes with a specific widget.
|
||
For Mac OSX, make them a 'sheet'. Patch by Mark Roseman.
|
||
|
||
- Issue #25198: Enhance the initial html viewer now used for Idle Help.
|
||
* Properly indent fixed-pitch text (patch by Mark Roseman).
|
||
* Give code snippet a very Sphinx-like light blueish-gray background.
|
||
* Re-use initial width and height set by users for shell and editor.
|
||
* When the Table of Contents (TOC) menu is used, put the section header
|
||
at the top of the screen.
|
||
|
||
- Issue #25225: Condense and rewrite Idle doc section on text colors.
|
||
|
||
- Issue #21995: Explain some differences between IDLE and console Python.
|
||
|
||
- Issue #22820: Explain need for *print* when running file from Idle editor.
|
||
|
||
- Issue #25224: Doc: augment Idle feature list and no-subprocess section.
|
||
|
||
- Issue #25219: Update doc for Idle command line options.
|
||
Some were missing and notes were not correct.
|
||
|
||
- Issue #24861: Most of idlelib is private and subject to change.
|
||
Use idleib.idle.* to start Idle. See idlelib.__init__.__doc__.
|
||
|
||
- Issue #25199: Idle: add synchronization comments for future maintainers.
|
||
|
||
- Issue #16893: Replace help.txt with help.html for Idle doc display.
|
||
The new idlelib/help.html is rstripped Doc/build/html/library/idle.html.
|
||
It looks better than help.txt and will better document Idle as released.
|
||
The tkinter html viewer that works for this file was written by Mark Roseman.
|
||
The now unused EditorWindow.HelpDialog class and helt.txt file are deprecated.
|
||
|
||
- Issue #24199: Deprecate unused idlelib.idlever with possible removal in 3.6.
|
||
|
||
- Issue #24790: Remove extraneous code (which also create 2 & 3 conflicts).
|
||
|
||
|
||
What's New in IDLE 3.5.0?
|
||
=========================
|
||
*Release date: 2015-09-13*
|
||
|
||
- Issue #23672: Allow Idle to edit and run files with astral chars in name.
|
||
Patch by Mohd Sanad Zaki Rizvi.
|
||
|
||
- Issue 24745: Idle editor default font. Switch from Courier to
|
||
platform-sensitive TkFixedFont. This should not affect current customized
|
||
font selections. If there is a problem, edit $HOME/.idlerc/config-main.cfg
|
||
and remove 'fontxxx' entries from [Editor Window]. Patch by Mark Roseman.
|
||
|
||
- Issue #21192: Idle editor. When a file is run, put its name in the restart bar.
|
||
Do not print false prompts. Original patch by Adnan Umer.
|
||
|
||
- Issue #13884: Idle menus. Remove tearoff lines. Patch by Roger Serwy.
|
||
|
||
- Issue #23184: remove unused names and imports in idlelib.
|
||
Initial patch by Al Sweigart.
|
||
|
||
- Issue #20577: Configuration of the max line length for the FormatParagraph
|
||
extension has been moved from the General tab of the Idle preferences dialog
|
||
to the FormatParagraph tab of the Config Extensions dialog.
|
||
Patch by Tal Einat.
|
||
|
||
- Issue #16893: Update Idle doc chapter to match current Idle and add new
|
||
information.
|
||
|
||
- Issue #3068: Add Idle extension configuration dialog to Options menu.
|
||
Changes are written to HOME/.idlerc/config-extensions.cfg.
|
||
Original patch by Tal Einat.
|
||
|
||
- Issue #16233: A module browser (File : Class Browser, Alt+C) requires an
|
||
editor window with a filename. When Class Browser is requested otherwise,
|
||
from a shell, output window, or 'Untitled' editor, Idle no longer displays
|
||
an error box. It now pops up an Open Module box (Alt+M). If a valid name
|
||
is entered and a module is opened, a corresponding browser is also opened.
|
||
|
||
- Issue #4832: Save As to type Python files automatically adds .py to the
|
||
name you enter (even if your system does not display it). Some systems
|
||
automatically add .txt when type is Text files.
|
||
|
||
- Issue #21986: Code objects are not normally pickled by the pickle module.
|
||
To match this, they are no longer pickled when running under Idle.
|
||
|
||
- Issue #23180: Rename IDLE "Windows" menu item to "Window".
|
||
Patch by Al Sweigart.
|
||
|
||
- Issue #17390: Adjust Editor window title; remove 'Python',
|
||
move version to end.
|
||
|
||
- Issue #14105: Idle debugger breakpoints no longer disappear
|
||
when inserting or deleting lines.
|
||
|
||
- Issue #17172: Turtledemo can now be run from Idle.
|
||
Currently, the entry is on the Help menu, but it may move to Run.
|
||
Patch by Ramchandra Apt and Lita Cho.
|
||
|
||
- Issue #21765: Add support for non-ascii identifiers to HyperParser.
|
||
|
||
- Issue #21940: Add unittest for WidgetRedirector. Initial patch by Saimadhav
|
||
Heblikar.
|
||
|
||
- Issue #18592: Add unittest for SearchDialogBase. Patch by Phil Webster.
|
||
|
||
- Issue #21694: Add unittest for ParenMatch. Patch by Saimadhav Heblikar.
|
||
|
||
- Issue #21686: add unittest for HyperParser. Original patch by Saimadhav
|
||
Heblikar.
|
||
|
||
- Issue #12387: Add missing upper(lower)case versions of default Windows key
|
||
bindings for Idle so Caps Lock does not disable them. Patch by Roger Serwy.
|
||
|
||
- Issue #21695: Closing a Find-in-files output window while the search is
|
||
still in progress no longer closes Idle.
|
||
|
||
- Issue #18910: Add unittest for textView. Patch by Phil Webster.
|
||
|
||
- Issue #18292: Add unittest for AutoExpand. Patch by Saihadhav Heblikar.
|
||
|
||
- Issue #18409: Add unittest for AutoComplete. Patch by Phil Webster.
|
||
|
||
- Issue #21477: htest.py - Improve framework, complete set of tests.
|
||
Patches by Saimadhav Heblikar
|
||
|
||
- Issue #18104: Add idlelib/idle_test/htest.py with a few sample tests to begin
|
||
consolidating and improving human-validated tests of Idle. Change other files
|
||
as needed to work with htest. Running the module as __main__ runs all tests.
|
||
|
||
- Issue #21139: Change default paragraph width to 72, the PEP 8 recommendation.
|
||
|
||
- Issue #21284: Paragraph reformat test passes after user changes reformat width.
|
||
|
||
- Issue #17654: Ensure IDLE menus are customized properly on OS X for
|
||
non-framework builds and for all variants of Tk.
|
||
|
||
|
||
What's New in IDLE 3.4.0?
|
||
=========================
|
||
*Release date: 2014-03-16*
|
||
|
||
- Issue #17390: Display Python version on Idle title bar.
|
||
Initial patch by Edmond Burnett.
|
||
|
||
- Issue #5066: Update IDLE docs. Patch by Todd Rovito.
|
||
|
||
- Issue #17625: Close the replace dialog after it is used.
|
||
|
||
- Issue #16226: Fix IDLE Path Browser crash.
|
||
(Patch by Roger Serwy)
|
||
|
||
- Issue #15853: Prevent IDLE crash on OS X when opening Preferences menu
|
||
with certain versions of Tk 8.5. Initial patch by Kevin Walzer.
|
||
|
||
|
||
What's New in IDLE 3.3.0?
|
||
=========================
|
||
*Release date: 2012-09-29*
|
||
|
||
- Issue #17625: Close the replace dialog after it is used.
|
||
|
||
- Issue #7163: Propagate return value of sys.stdout.write.
|
||
|
||
- Issue #15318: Prevent writing to sys.stdin.
|
||
|
||
- Issue #4832: Modify IDLE to save files with .py extension by
|
||
default on Windows and OS X (Tk 8.5) as it already does with X11 Tk.
|
||
|
||
- Issue #13532, #15319: Check that arguments to sys.stdout.write are strings.
|
||
|
||
- Issue # 12510: Attempt to get certain tool tips no longer crashes IDLE.
|
||
Erroneous tool tips have been corrected. Default added for callables.
|
||
|
||
- Issue #10365: File open dialog now works instead of crashing even when
|
||
parent window is closed while dialog is open.
|
||
|
||
- Issue 14876: use user-selected font for highlight configuration.
|
||
|
||
- Issue #14937: Perform auto-completion of filenames in strings even for
|
||
non-ASCII filenames. Likewise for identifiers.
|
||
|
||
- Issue #8515: Set __file__ when run file in IDLE.
|
||
Initial patch by Bruce Frederiksen.
|
||
|
||
- IDLE can be launched as `python -m idlelib`
|
||
|
||
- Issue #14409: IDLE now properly executes commands in the Shell window
|
||
when it cannot read the normal config files on startup and
|
||
has to use the built-in default key bindings.
|
||
There was previously a bug in one of the defaults.
|
||
|
||
- Issue #3573: IDLE hangs when passing invalid command line args
|
||
(directory(ies) instead of file(s)).
|
||
|
||
- Issue #14018: Update checks for unstable system Tcl/Tk versions on OS X
|
||
to include versions shipped with OS X 10.7 and 10.8 in addition to 10.6.
|
||
|
||
|
||
What's New in IDLE 3.2.1?
|
||
=========================
|
||
*Release date: 15-May-11*
|
||
|
||
- Issue #6378: Further adjust idle.bat to start associated Python
|
||
|
||
- Issue #11896: Save on Close failed despite selecting "Yes" in dialog.
|
||
|
||
- Issue #1028: Ctrl-space binding to show completions was causing IDLE to exit.
|
||
Tk < 8.5 was sending invalid Unicode null; replaced with valid null.
|
||
|
||
- Issue #4676: <Home> toggle failing on Tk 8.5, causing IDLE exits and strange selection
|
||
behavior. Improve selection extension behaviour.
|
||
|
||
- Issue #3851: <Home> toggle non-functional when NumLock set on Windows.
|
||
|
||
|
||
What's New in IDLE 3.1b1?
|
||
=========================
|
||
*Release date: 06-May-09*
|
||
|
||
- Issue #5707: Use of 'filter' in keybindingDialog.py was causing custom key assignment to
|
||
fail. Patch by Amaury Forgeot d'Arc.
|
||
|
||
- Issue #4815: Offer conversion to UTF-8 if source files have
|
||
no encoding declaration and are not encoded in UTF-8.
|
||
|
||
- Issue #4008: Fix problems with non-ASCII source files.
|
||
|
||
- Issue #4323: Always encode source as UTF-8 without asking
|
||
the user (unless a different encoding is declared); remove
|
||
user configuration of source encoding; all according to
|
||
PEP 3120.
|
||
|
||
- Issue #2665: On Windows, an IDLE installation upgraded from an old version
|
||
would not start if a custom theme was defined.
|
||
|
||
------------------------------------------------------------------------
|
||
Refer to NEWS2x.txt and HISTORY.txt for information on earlier releases.
|
||
------------------------------------------------------------------------
|