summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/run.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-41468: Improve and test IDLE run error exit (GH-21798)Terry Jan Reedy2020-08-091-8/+15
| | | 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.
* bpo-36698: IDLE no longer fails when write non-encodable characters to ↵Serhiy Storchaka2019-10-081-19/+17
| | | | | | | stderr. (GH-16583) It now escapes them with a backslash, as the regular Python interpreter. Added the "errors" field to the standard streams.
* bpo-26806: IDLE should run without docstrings (#14657)Terry Jan Reedy2019-07-091-8/+11
| | | After fcf1d00, IDLE startup failed with python compiled without docstrings.
* bpo-26806: add 30 to the recursion limit in IDLE's shell (GH-13944)Tal Einat2019-07-061-0/+62
| | | | | | | | 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.
* bpo-37321: Edit IDLE subprocess connection error messages. (#14170)Terry Jan Reedy2019-06-171-5/+7
| | | | Mainly, add a doc reference to message in pyshell.
* bpo-37038: Make idlelib.run runnable; add test clause (GH-13560)Terry Jan Reedy2019-05-251-8/+22
|
* bpo-36958: In IDLE, print exit message (GH-13435)Terry Jan Reedy2019-05-201-5/+6
| | | | | Print any argument other than None or int passed to SystemExit or sys.exit().
* bpo-33907: Rename an IDLE module and class. (GH-7807)Terry Jan Reedy2018-06-201-2/+2
| | | | Improve consistency and appearance. Module idlelib.calltips is now calltip. Class idlelib.calltip_w.CallTip is now Calltip.
* bpo-32207: Improve tk event exception tracebacks in IDLE. (#4703)Terry Jan Reedy2017-12-041-5/+9
| | | | | | | | 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.
* bpo-28603: Fix formatting tracebacks for unhashable exceptions (#4014)Zane Bitter2017-10-171-3/+3
|
* bpo-31500: IDLE: Scale default fonts on HiDPI displays. (#3639)Serhiy Storchaka2017-09-211-0/+13
|
* bpo-25514: Improve IDLE's connection refused message (#2177)terryjreedy2017-06-141-10/+7
| | | 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.
* bpo-30022: Get rid of using EnvironmentError and IOError (except test… (#1051)Serhiy Storchaka2017-04-161-1/+1
|
* Issue #27891: Consistently group and sort imports within idlelib modules.Terry Jan Reedy2016-08-311-12/+12
|
* Issue #25507: Merge from 3.5 with ttk replacing colorchooser.Terry Jan Reedy2016-07-161-0/+6
|\ | | | | | | | | IDLE no longer runs buggy code because of its tkinter imports. Users must include the same imports required to run directly in Python.
| * Issue #25507: IDLE no longer runs buggy code because of its tkinter imports.Terry Jan Reedy2016-07-161-0/+6
| | | | | | | | Users must include the same imports required to run directly in Python.
* | Issue #25507: Move 4 objects from pyshell to run and switch inports.Terry Jan Reedy2016-07-151-9/+112
| | | | | | | | This removes one problem inport and reduces len(sys.modules) by 37.
* | Issue #24225: Within idlelib files, update idlelib module names.Terry Jan Reedy2016-05-281-21/+21
|/ | | | | | | | | | | | | | | | 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.
* Issue #25173: Replace 'master' with 'parent' in tkinter.messagebox calls.Terry Jan Reedy2015-09-261-1/+1
| | | | | This associates the message box with the widget and is better for Mac OSX. Patch by Mark Roseman.
* Issue #23184: idlelib, remove more unused names and imports.Terry Jan Reedy2015-05-161-2/+0
|
* Merge with 3.3Terry Jan Reedy2013-06-291-20/+36
|\
| * Issue *18081, #18242: Change Idle warnings capture in PyShell and run to stopTerry Jan Reedy2013-06-291-20/+36
| | | | | | | | | | | | 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.
* | Issue #18081: Back out temporary changeset, 2a9e1eb3719c, to merge new patch.Terry Jan Reedy2013-06-291-3/+1
| | | | | | | | If buildbots run before next push, test_logging will (temporarily) fail.
* | Issue #18081: Workaround "./python -m test_idle test_logging" failureVictor Stinner2013-06-241-1/+3
| | | | | | | | | | "import idlelib" should not install hooks on the warning modules, hooks should only be installed when IDLE is started.
* | #18196: merge with 3.3Roger Serwy2013-06-121-0/+4
|\ \ | |/
| * #18196: Avoid displaying spurious SystemExit tracebacks.Roger Serwy2013-06-121-0/+4
| |
* | Issue #17838: merge with 3.3Georg Brandl2013-05-121-0/+5
|\ \ | |/
| * prevent IDLE from trying to close when sys.stdin is reassigned (#17838)Benjamin Peterson2013-05-121-0/+5
| |
* | Issue #9290: In IDLE the sys.std* streams now implement io.TextIOBaseSerhiy Storchaka2013-01-251-47/+10
|\ \ | |/ | | | | interface and support all mandatory methods and properties.
| * Issue #9290: In IDLE the sys.std* streams now implement io.TextIOBaseSerhiy Storchaka2013-01-251-47/+10
| |\ | | | | | | | | | interface and support all mandatory methods and properties.
| | * Issue #9290: In IDLE the sys.std* streams now implement io.TextIOBaseSerhiy Storchaka2013-01-251-47/+10
| | | | | | | | | | | | interface and support all mandatory methods and properties.
* | | Issue #16491: IDLE now prints chained exception tracebacks.Serhiy Storchaka2013-01-091-9/+28
|\ \ \ | |/ /
| * | Issue #16491: IDLE now prints chained exception tracebacks.Serhiy Storchaka2013-01-091-9/+28
| |\ \ | | |/
| | * Issue #16491: IDLE now prints chained exception tracebacks.Serhiy Storchaka2013-01-091-9/+26
| | |
* | | Issue #16717: get rid of socket.error, replace with OSErrorAndrew Svetlov2012-12-181-2/+2
|/ /
* | merge 3.2Martin v. Löwis2012-07-251-4/+21
|\ \ | |/
| * Issue #15318: Prevent writing to sys.stdin.Martin v. Löwis2012-07-251-4/+21
| | | | | | | | Patch by Roger Serwy and myself.
* | merge 3.2Martin v. Löwis2012-07-111-2/+2
|\ \ | |/
| * Use _RPCFile.write properly.Martin v. Löwis2012-07-111-2/+2
| |
* | merge 3.2Martin v. Löwis2012-07-111-2/+8
|\ \ | |/
| * Don't use TextIOBase implementations in _RPCFile.Martin v. Löwis2012-07-111-2/+8
| |
* | merge 3.2Martin v. Löwis2012-07-111-1/+1
|\ \ | |/
| * Issue #15319: Revert wrapping of sys.stdin. Patch by Serhiy Storchaka.Martin v. Löwis2012-07-111-1/+1
| |
* | merge 3.2Martin v. Löwis2012-07-091-1/+1
|\ \ | |/
| * normalize whitespaceMartin v. Löwis2012-07-091-1/+1
| |
* | merge 3.2Martin v. Löwis2012-07-091-3/+21
|\ \ | |/
| * Issue #13532: Check that arguments to sys.stdout.write are strings.Martin v. Löwis2012-07-091-3/+21
| |
* | Issue #989712: update the code to process tkinter messages in IDLEAndrew Svetlov2012-03-261-9/+6
| | | | | | | | | | | | without mainloop. Thanks to Roger Serwy for patch.
* | Issue #14200 — now displayhook for IDLE works in non-subprocess mode as ↵Andrew Svetlov2012-03-251-21/+1
| | | | | | | | well as subprecess.
* | Issue #14200: Idle shell crash on printing non-BMP unicode character.Andrew Svetlov2012-03-141-0/+21
| | | | | | | | | | | | UnicodeEncodeError is raised for strings contains non-BMP characters. For eval results unicode escaping is used, print() calls display exception with traceback as usual.