aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/idlelib
Commit message (Collapse)AuthorAge
* gh-69001: Convert links to more usable buttons (#129591)Stan Ulbrych2025-02-20
| | | | | | In Lib/idlelib/help_about.py, there are 2 links that are not underlined or colored, hence hard to tell that clicking works. All buttons might get converted to colored and underlined links in the future. --------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-68400: Remove outdated 2.7 comment (#129919)Stan Ulbrych2025-02-09
|
* gh-129873: IDLE: Improve help.py's method of parsing HTML (#129859)Stan Ulbrych2025-02-09
| | | | | | In `help.copy_strip`, only copy the text `<section>`. In `help.HelpParser.handle_starttag` and elsewhere, remove code to skip the no longer present html. Add a reminder at the top of idle.rst to run copy_strip after changes. --------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-129876: Initial 3.14 News3.txt entries (#129881)Terry Jan Reedy2025-02-09
|
* gh-112953: Update news to finish 3.13 as main (#129877)Terry Jan Reedy2025-02-09
| | | Entry for patch to 3.13.rc3
* gh-129699: Add description to IDLE doc title (#129727)Stan Ulbrych2025-02-08
| | | | | | Also extend the 'idlelib' section header. These additions affect both the displayed idle.html file and the contents.html file displayed by clicking the Complete table of contents link on the main docs.python.org page. (The module index entries are generated from the module name and synopsis within module files.) --------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-86206: Change IDLE splash line (#129698)Stan Ulbrych2025-02-06
| | | | | Change splash line Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-69001: Replace maintainer email in IDLE credits (#129588)Stan Ulbrych2025-02-06
| | | | Instead, anyone requesting credit should submit a PR with contribution summary. (Also fix typo in existing name.)
* gh-71339: Use new assertion methods in test_idle (#129213)Terry Jan Reedy2025-01-23
| | | Revise 10 tests in 7 files, with 1 test split into 2.
* gh-127060: Disable traceback colors in IDLE (#128028)Victor Stinner2024-12-18
| | | | | Set TERM environment variable to "dumb" to disable traceback colors in IDLE, since IDLE doesn't understand ANSI escape sequences.
* Fix idlelib typos (#125484)Terry Jan Reedy2024-10-14
| | | | | Propagate fixes in Doc/library/idle.rst to help.html. Change 'interruptable' to 'interruptible' in run.py. The latter was reported by ember91 in PR 125473.
* gh-122392: IDLE - Fix overlapping lines in browsers (#122392) (#124975)Zhikang Yan2024-10-07
| | | | | | | Increase currently inadequate vertical spacing for the IDLE browsers (path, module, and stack) on high-resolution monitors. --------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-112938: IDLE - Fix uninteruptable hang when Shell gets rapid continuous ↵Terry Jan Reedy2024-09-22
| | | | | | | | | | | | output. (#124310) https://github.com/python/cpython/issues/88496 replaced text.update with text.update_idletasks in colorizer.py and outwin.py to fix test failures on macOS. While theoretically correct, the result was Shell freezing when receiving continuous short strings to print. Test: `while 1: 1`. The guess is that there is no idle time in which to do the screen update. Reverting the change in one of the files, outwin, fixes the issue. Colorizer runs ever 1/20 second and seems to work fine. When running test-outwin on macOS, alias 'update' to 'update_idletasks on the text used for testing.
* Fix typos in warnings, docstrings, comments and text files (#123597)abstractee2024-09-03
|
* Further revise idlelib/Icons/README.text (#123364)Terry Jan Reedy2024-08-26
| | | In particular, add trademark derivative approval information.
* Rewrite idlelib/Icons/README.txt (#123329)Terry Jan Reedy2024-08-25
|
* gh-121804: Always show error location for SyntaxError's in new repl (#121886)Sergey B Kirpichev2024-08-19
|
* gh-120104: IDLE: Fix padding in config and search dialogs (#120107)Serhiy Storchaka2024-08-06
|
* gh-120083: Add IDLE Hovertip foreground color needed for recent macOS (#120605)John Riggles2024-08-01
| | | | | | | | On recent versions of macOS (sometime between Catalina and Sonoma 14.5), the default Hovertip foreground color changed from black to white, thereby matching the background. This might be a matter of matching the white foreground of the dark-mode text. The unreadable result is shown here (#120083 (comment)). The foreground and background colors were made parameters so we can pass different colors for future additional hovertips in IDLE. --------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Fixes typo in idlelib/idle_test/example_stub.pyi (#122520)Jonathon Vandezande2024-08-01
| | | | --------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* GH-122482: Make About IDLE direct discussion to DPO (#122483)Terry Jan Reedy2024-07-30
| | | | | | | Currently, idle-dev@python.org and idle-dev mailing list serve to collect spam (90+%). Change About IDLE to direct discussions to discuss.python.org. Users are already doing so.
* gh-78889: Stop IDLE Shell freezes from sys.stdout.shell.xyz (#121876)Terry Jan Reedy2024-07-17
| | | | | | | Problem occurred when attribute xyz could not be pickled. Since this is not trivial to selectively fix, block all attributes (other than 'width'). IDLE does not access them and they are private implementation details.
* gh-121008: Fix idlelib.run tests (#121046)Victor Stinner2024-06-26
| | | | When testing IDLE, don't create a Tk to avoid side effects such as installing a PyOS_InputHook hook.
* gh-120417: Remove unused imports in the stdlib (#120420)Victor Stinner2024-06-12
|
* Fix typos in documentation (#120338)Xie Yanbo2024-06-12
|
* gh-119174: Fix high DPI causes turtledemo(turtle-graphics examples) windows ↵Wulian2332024-05-20
| | | | | | blurry (#119175) ------ Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* IDLE: fix url in config.py comment (#119198)Terry Jan Reedy2024-05-20
|
* gh-66410: Do not stringify arguments of Tkinter callback (GH-98592)Serhiy Storchaka2024-05-07
| | | | | | | | | Callbacks registered in the tkinter module now take arguments as various Python objects (int, float, bytes, tuple), not just str. To restore the previous behavior set tkinter module global wantobject to 1 before creating the Tk object or call the wantobject() method of the Tk object with argument 1. Calling it with argument 2 restores the current default behavior.
* gh-78955: Use user-selected color theme for Help => IDLE Doc (#9502)Terry Jan Reedy2024-05-06
|
* gh-112730: Make the test suite resilient to color-activation environment ↵Pablo Galindo Salgado2024-04-24
| | | | variables (#117672)
* gh-88516: show file proxy icon in IDLE editor windows on macOS (#112894)Ronald Oussoren2024-02-23
| | | | | | | | | | | | | The platform standard on macOS is to show a proxy icon for open files in the titlebar of Windows. Make sure IDLE matches this behaviour. Don't use both the long and short names in the window title. The behaviour of other editors (such as Text Editor) is to show only the short name with the proxy icon. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-97928: Partially restore the behavior of tkinter.Text.count() by default ↵Serhiy Storchaka2024-02-11
| | | | | | | | | | | | | (GH-115031) By default, it preserves an inconsistent behavior of older Python versions: packs the count into a 1-tuple if only one or none options are specified (including 'update'), returns None instead of 0. Except that setting wantobjects to 0 no longer affects the result. Add a new parameter return_ints: specifying return_ints=True makes Text.count() always returning the single count as an integer instead of a 1-tuple or None.
* gh-103820: IDLE: Do not interpret buttons 4/5 as scrolling on non-X11 ↵Christopher Chavez2024-02-02
| | | | | | | (GH-103821) Also fix test_mousewheel: do not skip a check which was broken due to incorrect delta on Aqua and XQuartz, and probably not because of `.update_idletasks()`.
* gh-96905: In IDLE code, stop redefining built-ins 'dict' and 'object' (#114227)Terry Jan Reedy2024-01-18
| | | | | Prefix 'dict' with 'o', 'g', or 'l' for 'object', 'global', or 'local'. Suffix 'object' with '_'.
* gh-72284: Revise lists in IDLE doc (#114174)Terry Jan Reedy2024-01-17
| | | | | | | | | Tkinter is a fact, not necessarily a feature. Reorganize editor key bindings in a logical order and remove those that do not work, at least on Windows. Improve shell bindings list.
* gh-81479: For Help => IDLE Doc, stop double-spacing some lists. (#114168)Terry Jan Reedy2024-01-17
| | | | | This matches Firefox format. Edge double-spaces non-simple list but I think it looks worse.
* Fix 'expresion' typo in IDLE doc (#114130)Terry Jan Reedy2024-01-16
| | | The substantive change is on line 577/593. Rest is header/footer stuff ignored when displaying.
* gh-113903: Fix an IDLE configdialog test (#113973)Terry Jan Reedy2024-01-11
| | | | | | | | | | | test_configdialog.HighPageTest.test_highlight_target_text_mouse fails if a line of the Highlight tab text sample is not visible. If so, bbox() in click_char() returns None and the unpacking iteration fails. This occurred on a Devuan Linux system. Fix by moving the 'see character' call inside click_char, just before the bbox call. Also, reduce the click_char calls to just one per tag name and replace the other nested function with a dict comprehension.
* gh-113729: Fix IDLE's Help -> "IDLE Help" menu bug in 3.12.1 and 3.11.7 ↵Ronald Oussoren2024-01-06
| | | | | (#113731) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-57795: Add news to idlelib/News3.txt (#113522)Terry Jan Reedy2023-12-27
|
* gh-57795: IDLE: Enter the selected text when opening the "Replace" dialog ↵Zackery Spytz2023-12-27
| | | | | | (GH-17593) Co-authored-by: Roger Serwy <roger.serwy@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-81682: Fix test failures when CPython is built without docstrings (GH-113410)Serhiy Storchaka2023-12-23
|
* gh-113269: IDLE - Fix test_editor hang (macOS) (#113271)Terry Jan Reedy2023-12-19
| | | | Hangs on installed 3.13.0a2 on macOS Catalina. Behavior on installed 3.12.1 and 3.11.7 is unknown.
* IDLE: Add util and stub example comments (#113222)Terry Jan Reedy2023-12-17
|
* gh-112953: Rename idlelib/NEWS.txt to News3.txt and update (#112988)Terry Jan Reedy2023-12-12
|
* GH-83162: Rename re.error for better clarity. (#101677)achhina2023-12-11
| | | | | | | | | Renamed re.error for clarity, and kept re.error for backward compatibility. Updated idlelib files at TJR's request. --------- Co-authored-by: Matthias Bussonnier <mbussonnier@ucmerced.edu> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-112898: warn about unsaved files when quitting IDLE on macOS (#112939)Ronald Oussoren2023-12-11
| | | | | | | | | | * gh-112898: warn about unsaved files when quitting IDLE on macOS Implement the TK function ``::tk::mac::Quit`` on macOS to ensure that IDLE asks about saving unsaved files when quitting IDLE. Co-authored-by: Christopher Chavez chrischavez@gmx.us
* IDLE: Tweak iomenu.IOBinding.maybesave (#112914)Terry Jan Reedy2023-12-09
| | | | Add docstring, use f-string, simplify code.
* gh-66819: More IDLE htest updates(4) (#112686)Terry Jan Reedy2023-12-04
| | | | Mostly double spacing before 'if __name__...'.
* gh-66819: More IDLE htest updates(3) (#112683)Terry Jan Reedy2023-12-03
| | | Revise spec-callable pairs from percolator to end.