summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/IDLE
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-39050: The Help button in IDLE's config menu works again (GH-17611)Miss Islington (bot)2020-01-231-0/+1
| | | | | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 2e43b64c94e49f7133b9c26e84c9519935c49063) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-32989: IDLE - fix bad editor call of pyparse method (GH-5968)Miss Islington (bot)2020-01-211-0/+2
| | | | | | | | | | Fix comments and add tests for editor newline_and_indent_event method. Remove unused None default for function parameter of pyparse find_good_parse_start method and code triggered by that default. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit ec64640a2c5236d7a5d5470d759172a3d93eab0b) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
* bpo-34118: memoryview, range, and tuple are classes (GH-17761)Miss Islington (bot)2019-12-301-0/+2
| | | | | | | Tag memoryview, range, and tuple as classes, the same as list, etcetera, in the library manual built-in functions list. (cherry picked from commit ee9ff05ec22ecd47dbffdd361967ccd55963dad2) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Python 3.8.1v3.8.1Łukasz Langa2019-12-182-3/+0
|
* Merge tag 'v3.8.1rc1' into 3.8Łukasz Langa2019-12-105-11/+0
|\ | | | | | | Python 3.8.1rc1
| * Python 3.8.1rc1v3.8.1rc1Łukasz Langa2019-12-095-11/+0
| |
* | bpo-38943: Fix IDLE autocomplete window not always appearing (GH-17416)Miss Islington (bot)2019-12-101-0/+2
| | | | | | | | | | | | This has happened on some versions of Ubuntu. (cherry picked from commit bbc4162bafe018f07bab0b624b37974cc33daad9) Co-authored-by: JohnnyNajera <58344607+JohnnyNajera@users.noreply.github.com>
* | bpo-38944: Escape key now closes IDLE completion windows. (GH-17419)Miss Islington (bot)2019-12-091-0/+1
|/ | | | | (cherry picked from commit 232689b40d8fcbbac27c8705607ff482ea5b46f8) Co-authored-by: JohnnyNajera <58344607+JohnnyNajera@users.noreply.github.com>
* [3.8] bpo-38862: IDLE Strip Trailing Whitespace fixes end newlines (GH-17366)Terry Jan Reedy2019-11-271-0/+2
| | | | | | Extra newlines are removed at the end of non-shell files. If the file only has newlines after stripping other trailing whitespace, all are removed, as is done by patchcheck.py. (cherry picked from commit 6bf644ec82f14cceae68278dc35bafb00875efae) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-38636: Fix IDLE tab toggle and file indent width (GH-17008)Miss Islington (bot)2019-11-201-0/+3
| | | | | | | These Format menu functions (default shortcuts Alt-T and Alt-U) were mistakenly disabled in 3.7.5 and 3.8.0. (cherry picked from commit b8462477bfd01ff21461065d5063e6b0238ca809) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-4630: Add cursor no-blink option for IDLE (GH-16960)Miss Islington (bot)2019-11-131-0/+3
| | | | | | This immediately toggles shell, editor, and output windows, but does not affect other input widgets. (cherry picked from commit 9c2844927d15b2d3e21b28d62249dead02b5b597) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-26353: IDLE adds an unneeded newline when saving a shell window (GH-17103)Miss Islington (bot)2019-11-121-0/+2
| | | | | (cherry picked from commit c8b53dc3d8f721ed8519aa5a35530a42fbfb9424) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-38598: Do not try to compile IDLE shell or output windows (GH-16939)Miss Skeleton (bot)2019-10-271-0/+1
| | | | | (cherry picked from commit e3f90b217a5152275b180b466bd503658a734462) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* v3.8.0v3.8.0Łukasz Langa2019-10-141-3/+0
|
* bpo-36698: IDLE no longer fails when write non-encodable characters to ↵Miss Islington (bot)2019-10-081-0/+3
| | | | | | | | | stderr. (GH-16583) It now escapes them with a backslash, as the regular Python interpreter. Added the "errors" field to the standard streams. (cherry picked from commit b690a2759e62d9ee0b6ea1b20e8f7e4b2cdbf8bb) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* v3.8.0rc1v3.8.0rc1Łukasz Langa2019-10-016-15/+0
|
* bpo-35379: When exiting IDLE, catch any AttributeError. (GH-16212)Miss Islington (bot)2019-09-171-0/+3
| | | | | | | | One happens when EditorWindow.close is called twice. Printing a traceback, when IDLE is run from a terminal, is useless and annoying. (cherry picked from commit dfd34a9cd58e8150c324190f746de919e140abe8) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-38183: Test_idle ignores user config directory GH-16198)Miss Islington (bot)2019-09-171-0/+3
| | | | | | | It no longer tries to create or access .idlerc or any files within. Users must run IDLE to discover problems with saving settings. (cherry picked from commit 0048afc16a7e7301d5c565237db271505e5fbed9) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-38077: IDLE no longer adds 'argv' to the user namespace (GH-15818)Miss Islington (bot)2019-09-101-0/+2
| | | | | | | This only happened when initializing the subprocess to run a module. This recent bug only affected 3.7.4 and 3.8.0b2 to 3.8.0b4. (cherry picked from commit c59295a1ca304f37ca136dd7efca9e560db27d28) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-38041: Refine IDLE Shell restart lines. (GH-15709)Miss Islington (bot)2019-09-061-0/+3
| | | | | | Restart lines now always start with '=' and never end with ' ' and fill the width of the window unless that would require ending with ' ', which could be wrapped by itself and possible confusing the user. (cherry picked from commit 38da805d563422cf1bb9cd9be24c73806840fe30) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-37902: IDLE: Add scrolling for IDLE browsers. (GH-15368)Miss Islington (bot)2019-09-051-0/+2
| | | | | | | Modify the wheel event handler so it can also be used for module, path, and stack browsers. Patch by George Zhang. (cherry picked from commit 2cd902585815582eb059e3b40e014ebe4e7fdee7) Co-authored-by: GeeTransit <geetransit@gmail.com>
* bpo-35771: IDLE: Fix flaky tool-tip hover delay tests (GH-15634)Miss Islington (bot)2019-09-031-0/+2
| | | | | | | Extending the hover delay in test_tooltip should avoid spurious test_idle failures. One longer delay instead of two shorter delays results in a net speedup. (cherry picked from commit 132acaba5a7f01373ca624b1a5975b190fe866f5) Co-authored-by: Tal Einat <taleinat+github@gmail.com>
* Python 3.8.0b4v3.8.0b4Łukasz Langa2019-08-295-7/+0
|
* bpo-37824: Properly handle user input warnings in IDLE shell. (GH-15500)Miss Islington (bot)2019-08-261-0/+2
| | | | | | Cease turning SyntaxWarnings into SyntaxErrors. (cherry picked from commit 1039f39c9c6edb4c185856c19316d3a4eb561c38) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-37929: IDLE: avoid Squeezer-related config dialog crashes (GH-15452)Miss Islington (bot)2019-08-251-0/+1
| | | | | | | | | | | | These were caused by keeping around a reference to the Squeezer instance and calling it's load_font() upon config changes, which sometimes happened even if the shell window no longer existed. This change completely removes that mechanism, instead having the editor window properly update its width attribute, which can then be used by Squeezer. (cherry picked from commit d4b4c00b57d24f6ee2cf3a96213406bb09953df3) Co-authored-by: Tal Einat <taleinat+github@gmail.com>
* Fix typo and rearrange words in IDLE news item (GH-15471)Miss Islington (bot)2019-08-241-1/+1
| | | | | | Redo of GH-15402 by GeeTransit and Kyle Stanley. (cherry picked from commit 0dfc025cccc5adf4f209e2421c7686b1e637eeae) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-37849: IDLE: fix completion window positioning above line (GH-15267)Miss Islington (bot)2019-08-141-0/+2
| | | | | (cherry picked from commit 71662dc2f12a7e77e5e1dfe64ec87c1b459c3f59) Co-authored-by: Tal Einat <taleinat+github@gmail.com>
* bpo-36419: IDLE - Refactor autocompete and improve testing. (GH-15121)Miss Islington (bot)2019-08-051-0/+1
| | | | | (cherry picked from commit 1213123005d9f94bb5027c0a5256ea4d3e97b61d) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-37748: Re-order the Run menu. (GH-15115)Miss Islington (bot)2019-08-041-0/+1
| | | | | | Put the most common choice, Run Module, at the top. (cherry picked from commit 14070299cdc0faf36975f0cc2d51824a9abf3db0) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Python 3.8.0b3v3.8.0b3Łukasz Langa2019-07-299-21/+0
|
* bpo-37692: Improve highlight config sample (GH-14983)Miss Islington (bot)2019-07-281-0/+2
| | | | | | Use an example shell interaction in the sample and better labels for shell elements. (cherry picked from commit b222955355c8077a3ceca79195731663d7c3dd5f) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-37628: Fix IDLE config sample sizes (GH-14958)Miss Islington (bot)2019-07-271-0/+1
| | | | | | The boxes for the font and highlight samples are now constrained by the overall config dialog size. They gain scrollbars when the when a large font size makes the samples too large for the box. (cherry picked from commit 3221a63c69268a9362802371a616f49d522a5c4f) Co-authored-by: Tal Einat <taleinat+github@gmail.com>
* bpo-17535: IDLE editor line numbers (GH-14030)Miss Islington (bot)2019-07-231-0/+4
| | | | | (cherry picked from commit 7123ea009b0b004062d91f69859bddf422c34ab4) Co-authored-by: Tal Einat <taleinat@gmail.com>
* bpo-37627: Initialize IDLE Custom Run dialog with previous entries (GH-14870)Miss Islington (bot)2019-07-211-0/+3
| | | | | | Repeat the command line arguments most recently entered before so the user can edit them. (cherry picked from commit 35b87e6001bd991f625abe305951c77ddeb9a9c5) Co-authored-by: Ngalim Siregar <ngalim.siregar@gmail.com>
* bpo-33610: IDLE's code-context always shows current context immediately ↵Miss Islington (bot)2019-07-181-0/+1
| | | | | | | | | (GH-14821) (#14846) Eliminate delay of up to 100ms and accompanying visual artifact. Fix bug of never showing context when hide and show. (cherry picked from commit e0a1f8fb5c60886dbddf1a3ccb5d47576bdd43e2) Co-authored-by: Tal Einat <taleinat@gmail.com>
* bpo-36390: Gather IDLE Format menu functions into format.py (GH-14827) ↵Miss Islington (bot)2019-07-181-2/+2
| | | | | | | | | | (GH-14829) Add two indent spec methods from editor and Rstrip to existing file. Tests are not added for indent methods because they need change in lights of 3.x's prohibition on mixing tabs and spaces. (cherry picked from commit 1b3892243433da7eae7f5f3a4f98f13d309c8926) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-36390: IDLE: Combine region formatting methods. (GH-12481) (GH-14811)Miss Islington (bot)2019-07-171-0/+2
| | | | | | | Rename paragraph.py to format.py and add region formatting methods from editor.py. Add tests for the latter. (cherry picked from commit 82494aa6d947c4a320c09c58fe0f100cdcf7af0b) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
* bpo-37530: simplify, optimize and clean up IDLE code context (GH-14675)Miss Islington (bot)2019-07-171-0/+3
| | | | | | | | | | | | | | * Only create CodeContext instances for "real" editors windows, but not e.g. shell or output windows. * Remove configuration update Tk event fired every second, by having the editor window ask its code context widget to update when necessary, i.e. upon font or highlighting updates. * When code context isn't being shown, avoid having a Tk event fired every 100ms to check whether the code context needs to be updated. * Use the editor window's getlineno() method where applicable. * Update font of the code context widget before the main text widget (cherry picked from commit 7036e1de3a87d36c7ef41b8a2b44ed6fc4d34be2) Co-authored-by: Tal Einat <taleinat@gmail.com>
* bpo-27452: IDLE: Cleanup config.py code (GH-14577) (GH-14802)Miss Islington (bot)2019-07-161-0/+1
| | | | | (cherry picked from commit f8d4cc7dbbf54b9c5435c3080582a4aa421a067d) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
* bpo-26806: add 30 to the recursion limit in IDLE's shell (GH-13944)Miss Islington (bot)2019-07-061-0/+4
| | | | | | | | | | | This is done to compensate for the extra stack frames added by IDLE itself, which cause problems when setting the recursion limit to low values. This wraps sys.setrecursionlimit() and sys.getrecursionlimit() as invisibly as possible. (cherry picked from commit fcf1d003bf4f0100c9d0921ff3d70e1127ca1b71) Co-authored-by: Tal Einat <taleinat+github@gmail.com>
* Python 3.8.0b2v3.8.0b2Łukasz Langa2019-07-046-14/+0
|
* bpo-37325: Fix focus traversal for 2 IDLE dialogs (GH-14209)Miss Islington (bot)2019-06-181-0/+1
| | | | | | Tab now moves focus across and down for Help Source and Custom Run. (cherry picked from commit 54cf2e0780ca137dd9abea5d3d974578ce0c18a9) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-5680: IDLE: Customize running a module (GH-13763)Miss Islington (bot)2019-06-181-0/+3
| | | | | | The initialize options are 1) add command line options, which are appended to sys.argv as if passed on a real command line, and 2) skip the shell restart. The customization dialog is accessed by a new entry on the Run menu. (cherry picked from commit 201bc2d18b60adb05810d2a6ab396047bc527088) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
* bpo-37321: Edit IDLE subprocess connection error messages. (GH-14170)Miss Islington (bot)2019-06-171-0/+2
| | | | | | Mainly, add a doc reference to message in pyshell. (cherry picked from commit 8fac1221097aaf6ac37ed9ea727ee7892085e183) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-37039: Make IDLE's Zoom Height adjust to users' screens (GH-13678) ↵Miss Islington (bot)2019-06-171-0/+4
| | | | | | | | | (GH-14168) Measure required height by quickly maximizing once per screen. A search for a better method failed. (cherry picked from commit 5bff3c86ab77e9d831b3cd19b45654c7eef22931) Co-authored-by: Tal Einat <taleinat+github@gmail.com>
* bpo-37177: make IDLE's search dialogs transient (GH-13869)Miss Islington (bot)2019-06-071-0/+2
| | | | | | This avoids the search dialogs being hidden behind the editor window. (cherry picked from commit 554450fb4e95066e825bdb4a2d544a490daeebdc) Co-authored-by: Tal Einat <taleinat@gmail.com>
* bpo-35763: Make IDLE calltip note about '/' less obtrusive (GH-13791)Miss Islington (bot)2019-06-051-0/+2
| | | | | | Add it to the end of the first line if there is room. Tests were reworked. (cherry picked from commit 949fe976d5c62ae63ed505ecf729f815d0baccfc) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Python 3.8.0b1v3.8.0b1Łukasz Langa2019-06-045-8/+0
|
* bpo-35610: IDLE - Replace .context_use_ps1 with .prompt_last_line (GH-11307)Cheryl Sabella2019-06-021-0/+2
| | | | Changes in bpo- 31858 made the less informative 'context_use_ps1' redundant.
* bpo-32411: IDLE: Remove line number sort in browser.py (#5011)Cheryl Sabella2019-06-011-0/+2
| | | Insertion in line order makes sorting keys by line order unneeded.