| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
Adjust tests and user modules to match.
|
|
|
| |
dump is similar to print but less flexible. lastopenbracketpos is now always initialized in _study2, as was stmt_bracketing, so the class settings are not needed. get_last_open_bracket_pos is never called.
|
|
|
|
| |
There are no code changes other than comments and docstrings.
|
|
|
|
|
| |
Using the system and place-dependent default encoding for open()
is a bad idea for IDLE's system and location-independent files.
|
|
|
|
|
|
|
|
| |
(GH-5639)
GUI test test_file_buttons() only looks at initial ascii-only lines,
but failed on systems where open() defaults to 'ascii' because
readline() internally reads and decodes far enough ahead to encounter
a non-ascii character in CREDITS.txt.
|
| |
|
|
|
| |
Add new entries to the widget list.
|
|
|
| |
Fix typos found by codespell in docs, docstrings, and comments.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
When tk event handling is driven by IDLE's run loop, a confusing
and distracting queue.EMPTY traceback context is no longer added
to tk event exception tracebacks. The traceback is now the same
as when event handling is driven by user code. Patch based on
a suggestion by Serhiy Storchaka.
|
|
|
| |
Patches are in 3.7.0a3 even if this update is not.
|
| |
|
| |
|
| |
|
|
|
| |
Patch mostly by Cheryl Sabella
|
| |
|
|
|
|
|
|
| |
Editor and output windows only see an empty last prompt line.
This simplifies the code and fixes a minor bug when newline is inserted.
Sys.ps1, if present, is read on Shell start-up, but is not set or changed.
|
|
|
|
|
| |
editable. (#4106)
Changes persist while IDLE remains open
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Even if one selects a font that defines a limited subset of the unicode
Basic Multilingual Plane, tcl/tk will use other fonts that define a
character. The expanded example give users of non-Latin characters
a better idea of what they might see in the IDLE shell and editors.
To make room for the expanded sample, frames on the Font tab are
re-arranged. The Font/Tabs help explains a bit about the additions.
|
| |
|
|
|
| |
Follow-up to Victor's patch that enabled autotest to run in IDLE's Shell.
|
| |
|
|
|
| |
Save a bit of code, plus non-tuples get converted anyway to tuples by tkinter for the tk call.
|
|
|
|
|
|
| |
Passing a widget instead of an flist with a root widget opens the option of
creating a browser frame that is only part of a window. Passing a full file
name instead of pieces assumed to come from a .py file opens the possibility
of browsing python files that do not end in .py.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Browser. (#3704)
The original module-level class and method browser became a module
browser, with the addition of module-level functions, years ago.
Nested classes and functions were added yesterday. For back-
compatibility, the virtual event <<open-class-browser>>, which
appears on the Keys tab of the Settings dialog, is not changed.
Patch by Cheryl Sabella.
|
|
|
|
|
| |
Order dependence caused leak-test buildbots to fail when running test_idle repeatedly.
|
|
|
|
| |
Original patches for code and tests by Guilherme Polo and
Cheryl Sabella, respectively.
|
| |
|
|
|
| |
This one line of Serhiy Storchacka's bpo-31500 patch for is needed for other issues.
|
| |
|
|
|
| |
This reverses a never-released regression resulting from bpo-31287.
|
|
|
|
| |
Canceling timers prevents a warning message when test_idle completes.
(This is the minimum fix needed before upcoming releases.)
|
|
|
|
|
| |
When apply changes, call .reload on each class with non-key options.
Change ParenMatch so that updates affect current instances.
|
|
|
|
|
|
|
| |
'Strip trailing whitespace' is not limited to spaces. Wording caters to beginners who
do know know the meaning of 'whitespace'. Multiline string literals are not skipped.
* News blurb.
|
|
|
| |
Enabled by default was a temporary expedient. The fix is to add a user override to enable.
|
| |
|
|
|
|
| |
IDLE calls tcl/tk update in the background in order to make live
interaction and experimentatin with tkinter applications much easier.
|
|
|
|
| |
As needed for the conversion of extensions to features.
|
| |
|
|
|
|
|
| |
Adding to an int entry is not the same as deleting and inserting
because int('') will fail.
|
|
|
|
|
| |
This fixes an omission in the ttk conversion patch for this issue, hence no new news.
Patch by Cheryl Sabella.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
About 10 IDLE features were implemented as supposedly optional
extensions. Their different behavior could be confusing or worse for
users and not good for maintenance. Hence the conversion.
The main difference for users is that user configurable key bindings
for builtin features are now handled uniformly. Now, editing a binding
in a keyset only affects its value in the keyset. All bindings are
defined together in the system-specific default keysets in config-
extensions.def. All custom keysets are saved as a whole in config-
extension.cfg. All take effect as soon as one clicks Apply or Ok.
The affected events are '<<force-open-completions>>', '<<expand-word>>',
'<<force-open-calltip>>', '<<flash-paren>>', '<<format-paragraph>>',
'<<run-module>>', '<<check-module>>', and '<<zoom-height>>'. Any
(global) customizations made before 3.6.3 will not affect their keyset-
specific customization after 3.6.3. and vice versa.
Inital patch by Charles Wohlganger, revised by Terry Jan Reedy.
|
|
|
|
| |
Help sections. (#3239)
|
|
|
| |
Move some data and functions from the class to module level. Patch by Cheryl Sabella.
|
| |
|
|
|
| |
Patch by Cheryl Sabella.
|