| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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-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()`.
|
|
|
|
|
| |
Prefix 'dict' with 'o', 'g', or 'l' for 'object', 'global', or 'local'.
Suffix 'object' with '_'.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This matches Firefox format. Edge double-spaces non-simple
list but I think it looks worse.
|
|
|
| |
The substantive change is on line 577/593. Rest is header/footer stuff ignored when displaying.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
(#113731)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
| |
|
|
|
|
|
|
| |
(GH-17593)
Co-authored-by: Roger Serwy <roger.serwy@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
| |
|
|
|
|
| |
Hangs on installed 3.13.0a2 on macOS Catalina.
Behavior on installed 3.12.1 and 3.11.7 is unknown.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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
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
|
|
|
|
| |
Add docstring, use f-string, simplify code.
|
|
|
|
| |
Mostly double spacing before 'if __name__...'.
|
|
|
| |
Revise spec-callable pairs from percolator to end.
|
|
|
|
|
| |
Examine and update spec -- callable pairs.
Revise run method.
|
|
|
| |
Revise htest.py docstring and move 2 specs to alphabetical position.
|
|
|
| |
Change 'Dialog' to 'Window' in two places to match the name of the config_key class being tested.
|
|
|
|
|
|
|
|
|
| |
Missing "requires('gui')" causes Tk() to fail when no gui.
This caused CI Hypothesis test to fail, but I did not understand
the its error message. Then buildbots failed.
IdbTest failed on draft Bdb replacement because so different.
Simplified version works on old and new.
|
|
|
|
|
|
|
| |
Add docstrings to the debugger module. Fix two bugs: initialize Idb.botframe (should be in Bdb); In Idb.in_rpc_code, check whether prev_frame is None before trying to use it. Make other code changes.
Expand test_debugger coverage from 19% to 66%.
---------
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
| |
|
|
|
|
|
|
|
| |
It now always returns an integer if one or less counting options are specified.
Previously it could return a single count as a 1-tuple, an integer (only if
option "update" was specified) or None if no items found.
The result is now the same if wantobjects is set to 0.
|
|
|
|
|
|
| |
Replace tuple value with internal name, removing numbers.
Remove sorting of already ordered dislay names.
Remove '[0]' indexing into now-gone tuple.
|
|
|
|
|
| |
Add comments where .keys() is needed.
Leave debugger usages along because situation is unclear as indicated in expanded comment.
Most testing is manual.
|
|
|
|
| |
Use daemon argument added in 3.3 and directly call .start.
Remove now unused 'sockthread' name.
|
|
|
| |
Use 'last_exc' instead of 'last_value' in 3.12/3.
|
|
|
|
| |
(#103339)
|
|
|
|
| |
correct (#104975)
|
|
|
|
| |
in the tokenize module (#104846)
|
|
|
|
|
|
| |
Class editor.IndentSearcher contains all editor references to tokenize module.
Module io tokenize reference cover those other modules.
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
|
| |
|
| |
|
| |
|
|
|
| |
Print both if they are different, as may happen in the future.
|
| |
|
|
|
|
|
| |
Commit extracted from PR #3669. Will edit more later.
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
|
|
|
|
|
| |
* gh-99836: IDLE 3.12 news.txt
* gh-99836: IDLE - update news.txt for 3.12
|
|
|
| |
Needed for Catalina: test_sidebar add 'idletasks' and skip assert.
|
|
|
|
| |
Replace widget.update() with widget.update_idletasks in two places.
|
|
|
|
| |
The word 'dependent' is both an adjective and a noun. A 'dependant' is a British alternative spelling for the noun form. In idlelib.sidebar, 'OS-dependant' is an adjective and clearly wrong. In 'Using', 'dependant' as a noun would be acceptable in Britain, but we use American spellings in Python docs.
https://www.merriam-webster.com/words-at-play/spelling-variants-dependent-vs-dependant
|
|
|
|
| |
---------
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
|
|
|
| |
---------
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
| |
|
|
|
|
| |
sys.last_value,sys.last_traceback (#102779)
|
|
|
|
|
|
| |
Refactor DynOptionMenu's initializer to not copy kwargs dict and use subscripting;
improve its htest.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
| |
|