From f25aed1490b4ba1112f1963fb24f68f916b24b0c Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Fri, 4 Dec 2026 08:50:11 -0500 Subject: [PATCH] gh-135142: final update for 3.15.0 (GH-163133) (cherry picked from commit 01286cc28af98f9e763c73100ac12b1dddfb5de6) Co-authored-by: Terry Jan Reedy --- Lib/idlelib/News3.txt | 84 +++++++++++++++++++++++++++++++------------ 1 file changed, 62 insertions(+), 22 deletions(-) diff --git a/Lib/idlelib/News3.txt b/Lib/idlelib/News3.txt index bcbd7fa542a02a..46cdaa3fcf3ae4 100644 --- a/Lib/idlelib/News3.txt +++ b/Lib/idlelib/News3.txt @@ -4,54 +4,94 @@ Released on 2026-10-01 ========================= -gh-152745: When "Run... Customized" with "Restart shell" unchecked +gh-158067: Fix the IDLE File Open dialog listing text files before +Python files when opened from the Shell or an Output window. + +gh-75512: Output from a thread printed in the IDLE Shell while a +statement is being entered no longer takes over the prompt of the +statement. + +gh-89544: Fix IDLE hanging after Restart Shell while receiving a large +output from the user process. + +gh-59568: Fix "Save As" and "Open" dialogs in IDLE for a file whose +name starts with '~' on Windows and X11 with Tcl/Tk older than 9. + +gh-69004: The Debugger item of the IDLE Debug menu is now disabled +while user code runs, like Stack Viewer. + +gh-93966: The highlighting of a syntax error in the IDLE Shell is now +removed when the next statement is entered, not only when the next +syntax error occurs. + +gh-75234: Fix editing help sources and key bindings in the IDLE +Settings dialog after selecting them with the keyboard. + +gh-55646: Fix IDLE crash at startup when the user configuration +contains an invalid key binding, such as instead of +. The invalid binding is now ignored with a warning. + +gh-82183: Selecting "Run... Customized" with "Restart shell" unchecked while Shell is running code, including waiting for an input('prompt:') -response, just report that the shell is executing instead of +response, now reports just once that the shell is executing, instead of reporting twice and restarting anyway. Patch by Serhiy Storchaka. -gh-152743: When an integer entry in IDLE's Settings dialog, such as -"Auto squeeze min lines", is deleted, do not save '', which is an -invalid configuration value. Patch by Serhiy Storchaka. +gh-83653: Blanking an integer entry in IDLE's Settings dialog, such as +"Auto squeeze min lines", no longer saves an empty string as an invalid +configuration value. -gh-152742: MakeChange the default extension when saving a Shell or -Output window '.txt' and list text files before Python files. Their -content is not Python source. Patch by Serhiy Storchaka and Claude Code. +gh-65339: Saving the IDLE Shell or an Output window now defaults to a +.txt extension and lists text files before Python files, since their +content is not Python source. -gh-152740: Fill the "In files:" field of IDLE's Find in Files dialog +gh-80504: Fill the "In files:" field of IDLE's Find in Files dialog with a full directory path, even for an unsaved editor or the Shell. -In the grep output whow which directory was searched. Patch by Serhiy +In the grep output show which directory was searched. Patch by Serhiy Storchaka and Claude Code. -gh-152739: Omit the idlelib directory from the path of the IDLE user -process. User code imports such as `import help' can no longer import +gh-134300: Omit the idlelib directory from the path of the IDLE user +process. User code imports such as 'import help' can no longer import an idlelib submodule (here idlelib.help) instead of the intended top-level module. Patch by Serhiy Storchaka and Claude Code. -gh-152738: Fix a rare crash in the IDLE editor when the completion -window is closed: deleting a key binding for a sequence that is not -bound to the virtual event is now ignored instead of raising a -ValueError. Patch by Serhiy Storchaka and Claude Code. +gh-89360: Fix a rare crash in the IDLE editor when the completion window +is closed: deleting a key binding for a sequence that is not bound to +the virtual event is now ignored instead of raising a ValueError. -gh-152737: Fix Replace All in the IDLE editor's Replace dialog when the -search direction is "Up" and "Wrap around" is off: it now replaces all +gh-71956: Fix Replace All in the IDLE editor's Replace dialog when the +search direction is Up and "Wrap around" is off: it now replaces all matches above the current position instead of only the first one. -Patch by Serhiy Storchaka and Claude Code. - -gh-152733: For X11 window managers, set toplevel window classes to -"Idle". Patch by Serhiy Storchaka and Claude Code. gh-152728: Move functions run.fix_scaling, editor.fixwordbreaks (as 'fix_word_breaks') and pyshell.fix_x11_paste to module util. Patch by Terry J. Reedy. +gh-66331: Set the WM_CLASS window property of IDLE's windows to Idle on +X11, so that window managers group and label them correctly, instead of +using the default Toplevel. + gh-85320: IDLE now reads and writes its configuration files and the breakpoints file using UTF-8 instead of the locale encoding. Files with non-ASCII characters and non-UTF-8 encoding may need to be opened in an editor and resaved with UTF-8 encoding. +bpo-6699: Warn the user if a file will be overwritten when saving. + +gh-94523: Detect file if modified at local disk and prompt to ask +refresh. Patch by Shixian Li. + +gh-139551: Support rendering BaseExceptionGroup in IDLE. + +gh-89520: Make IDLE extension configuration look at user config files, +allowing user-installed extensions to have settings and key bindings +defined in ~/.idlerc. + gh-143774: Better explain the operation of Format / Format Paragraph. Patch by Terry J. Reedy. +gh-96491: Deduplicate version number in IDLE shell title bar after +saving to a file. + gh-139742: Colorize t-string prefixes for template strings in IDLE, as done for f-string prefixes. Patch by Anuradha Agrawal.