| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
IDLE: Condense run.main threading.Thread start. (GH-106125)
Use daemon argument added in 3.3 and directly call .start.
Remove now unused 'sockthread' name.
(cherry picked from commit eaa1eae55ea66d74c5303924320185dac74d4eb1)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
|
|
|
|
|
|
|
| |
stackviewer (GH-103339) (#105527)
gh-102832: IDLE - remove use of deprecated sys.last_xyzs for stackviewer (GH-103339)
(cherry picked from commit 3ee921d84f06da9dfa8aa29e0d33778b9dbf8f23)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
|
|
|
|
|
|
| |
---------
(cherry picked from commit bd2dca035af88694e25fb060f984fbbcda82bed8)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Terry Jan Reedy tjreedy@udel.edu
|
|
|
|
|
| |
(cherry picked from commit 6a15f918b5a6fb5113d5332ebf27df1d5360e66c)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
|
|
|
| |
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.
|
|\ \ \
| |/ / |
|
| |\ \
| | |/ |
|
| | | |
|
|/ / |
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Patch by Roger Serwy and myself.
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/ |
|