| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
When testing IDLE, don't create a Tk to avoid side effects such as
installing a PyOS_InputHook hook.
|
|
|
|
| |
Use daemon argument added in 3.3 and directly call .start.
Remove now unused 'sockthread' name.
|
|
|
|
| |
(#103339)
|
|
|
|
| |
---------
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)
|
| |
|
|
|
|
| |
mistakenly included in 3 files in previous PR
and backported both to 3.10 and 3.9.
|
| |
|
|
|
|
| |
IDLE recognizes Ctrl-D, as on other systems, instead of Ctrl-Z.
|
|
|
|
|
|
|
| |
A C function accessible by the default exception handler, but not by python code,
finds the existing name closest to the name causing a name or attribute error. For
such errors, call the default handler after capturing stderr and retrieve its message line.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
|
|
| |
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
|
|
|
| |
Remove 9 remaining '(object)' occurrences in class headers in idlelib
and 25 '()' occurrences in idlelib.idle_test class headers.
|
|
|
| |
A message box pops up when an unexpected error stops the run process. Tell users it is likely a random glitch, but report it if not.
|
|
|
|
|
|
|
| |
stderr. (GH-16583)
It now escapes them with a backslash, as the regular Python interpreter.
Added the "errors" field to the standard streams.
|
|
|
| |
After fcf1d00, IDLE startup failed with python compiled without docstrings.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Mainly, add a doc reference to message in pyshell.
|
| |
|
|
|
|
|
| |
Print any argument other than None or int passed to SystemExit
or sys.exit().
|
|
|
|
| |
Improve consistency and appearance. Module idlelib.calltips is now calltip.
Class idlelib.calltip_w.CallTip is now Calltip.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
| |
When IDLE fail to start because the socket connection fails, direct people to a new subsection of the IDLE doc listing various causes and remedies.
|
| |
|
| |
|
|\
| |
| |
| |
| | |
IDLE no longer runs buggy code because of its tkinter imports.
Users must include the same imports required to run directly in Python.
|
| |
| |
| |
| | |
Users must include the same imports required to run directly in Python.
|
| |
| |
| |
| | |
This removes one problem inport and reduces len(sys.modules) by 37.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This follows the previous patch that changed idlelib file names.
Class names that matched old module names are not changed.
Change idlelib imports in turtledemo.__main__.
Exception: config-extensions.def. Previously, extension section
names, file names, and class names had to match. Changing section
names would create cross-version conflicts in config-extensions.cfg
(user customizations). Instead map old names to new file names
at point of import in editor.EditorWindow.load_extension.
Patch extensively tested with test_idle, idle_test.htest.py, a custom
import-all test, running IDLE in a console to catch messages,
and testing each menu item. Based on a patch by Al Sweigart.
|
|
|
|
|
| |
This associates the message box with the widget and is better for Mac OSX.
Patch by Mark Roseman.
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| | |
replacing warnings.formatwarnings and to reverse replacement of
warnings.showwarnings when import is complete and when main function exits.
Add test_warning.py. Vinay Sajip provided capture_warnings function.
|
| |
| |
| |
| | |
If buildbots run before next push, test_logging will (temporarily) fail.
|
| |
| |
| |
| |
| | |
"import idlelib" should not install hooks on the warning modules, hooks should
only be installed when IDLE is started.
|
|\| |
|
| | |
|
|\| |
|
| | |
|
|\|
| |
| |
| | |
interface and support all mandatory methods and properties.
|
| |\
| | |
| | |
| | | |
interface and support all mandatory methods and properties.
|
| | |
| | |
| | |
| | | |
interface and support all mandatory methods and properties.
|
|\| | |
|
| |\| |
|
| | | |
|