summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/run.py
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | Issue #989712: Support using Tk without a mainloop.Andrew Svetlov2012-03-141-0/+16
|/
* Merged revisions 74446-74449 via svnmerge fromGuilherme Polo2009-08-141-3/+4
| | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev/python/trunk ........ r74446 | guilherme.polo | 2009-08-14 10:53:41 -0300 (Fri, 14 Aug 2009) | 1 line Issue #3344: Replace itertools.count by enumerate. ........ r74447 | guilherme.polo | 2009-08-14 11:03:07 -0300 (Fri, 14 Aug 2009) | 1 line Issue #3926: Fix the usage of the new showwarnings and formatwarning. ........ r74448 | guilherme.polo | 2009-08-14 11:36:45 -0300 (Fri, 14 Aug 2009) | 3 lines Issue #1135: Add the XView and YView mix-ins to avoid duplicating the xview* and yview* methods. ........ r74449 | guilherme.polo | 2009-08-14 11:43:43 -0300 (Fri, 14 Aug 2009) | 1 line Clarifying Entry.selection_present's docstring. ........
* Convert print to Py3Kurt B. Kaiser2009-04-041-1/+2
|
* Merged revisions 71023 via svnmerge fromKurt B. Kaiser2009-04-041-3/+6
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71023 | kurt.kaiser | 2009-04-01 22:44:54 -0400 (Wed, 01 Apr 2009) | 3 lines Remove port spec from run.py and fix bug where subprocess fails to extract port from command line when warnings are present. ........
* Fix more threading API related bugs: Thread.get_name() --> Thread.name.Amaury Forgeot d'Arc2008-11-291-1/+1
| | | | Seen when setting RPCHandler.debugging=True
* #4383: UnboundLocalError when IDLE cannot connect to its subprocess.Amaury Forgeot d'Arc2008-11-211-3/+4
| | | | | | | Python 3.0 clears the exception variable upon exit of the "except:" clause, and the displaying code fails miserably. Reviewed by Benjamin.
* Merged revisions ↵Benjamin Peterson2008-10-191-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 66887,66891,66902-66903,66905-66906,66911-66913,66922,66927-66928,66936,66939-66940,66962,66964,66973 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ................ r66887 | benjamin.peterson | 2008-10-13 16:51:40 -0500 (Mon, 13 Oct 2008) | 1 line document how to disable fixers ................ r66891 | amaury.forgeotdarc | 2008-10-14 16:47:22 -0500 (Tue, 14 Oct 2008) | 5 lines #4122: On Windows, Py_UNICODE_ISSPACE cannot be used in an extension module: compilation fails with "undefined reference to _Py_ascii_whitespace" Will backport to 2.6. ................ r66902 | skip.montanaro | 2008-10-15 06:49:10 -0500 (Wed, 15 Oct 2008) | 1 line easter egg ................ r66903 | benjamin.peterson | 2008-10-15 15:34:09 -0500 (Wed, 15 Oct 2008) | 1 line don't recurse into directories that start with '.' ................ r66905 | benjamin.peterson | 2008-10-15 16:05:55 -0500 (Wed, 15 Oct 2008) | 1 line support the optional line argument for idle ................ r66906 | benjamin.peterson | 2008-10-15 16:58:46 -0500 (Wed, 15 Oct 2008) | 1 line add a much requested newline ................ r66911 | benjamin.peterson | 2008-10-15 18:10:28 -0500 (Wed, 15 Oct 2008) | 41 lines Merged revisions 66805,66841,66860,66884-66886,66893,66907,66910 via svnmerge from svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r66805 | benjamin.peterson | 2008-10-04 20:11:02 -0500 (Sat, 04 Oct 2008) | 1 line mention what the fixes directory is for ........ r66841 | benjamin.peterson | 2008-10-07 17:48:12 -0500 (Tue, 07 Oct 2008) | 1 line use assertFalse and assertTrue ........ r66860 | benjamin.peterson | 2008-10-08 16:05:07 -0500 (Wed, 08 Oct 2008) | 1 line instead of abusing the pattern matcher, use start_tree to find a next binding ........ r66884 | benjamin.peterson | 2008-10-13 15:50:30 -0500 (Mon, 13 Oct 2008) | 1 line don't print tokens to stdout when -v is given ........ r66885 | benjamin.peterson | 2008-10-13 16:28:57 -0500 (Mon, 13 Oct 2008) | 1 line add the -x option to disable fixers ........ r66886 | benjamin.peterson | 2008-10-13 16:33:53 -0500 (Mon, 13 Oct 2008) | 1 line cut down on some crud ........ r66893 | benjamin.peterson | 2008-10-14 17:16:54 -0500 (Tue, 14 Oct 2008) | 1 line add an optional set literal fixer ........ r66907 | benjamin.peterson | 2008-10-15 16:59:41 -0500 (Wed, 15 Oct 2008) | 1 line don't write backup files by default ........ r66910 | benjamin.peterson | 2008-10-15 17:43:10 -0500 (Wed, 15 Oct 2008) | 1 line add the -n option; it stops backupfiles from being written ........ ................ r66912 | hirokazu.yamamoto | 2008-10-16 01:25:25 -0500 (Thu, 16 Oct 2008) | 2 lines removed unused _PyUnicode_FromFileSystemEncodedObject. made win32_chdir, win32_wchdir static. ................ r66913 | benjamin.peterson | 2008-10-16 13:52:14 -0500 (Thu, 16 Oct 2008) | 1 line document that deque indexing is O(n) #4123 ................ r66922 | benjamin.peterson | 2008-10-16 14:40:14 -0500 (Thu, 16 Oct 2008) | 1 line use new showwarnings signature for idle #3391 ................ r66927 | andrew.kuchling | 2008-10-16 15:15:47 -0500 (Thu, 16 Oct 2008) | 1 line Fix wording (2.6.1 backport candidate) ................ r66928 | georg.brandl | 2008-10-16 15:20:56 -0500 (Thu, 16 Oct 2008) | 2 lines Add more TOC to the whatsnew index page. ................ r66936 | georg.brandl | 2008-10-16 16:20:15 -0500 (Thu, 16 Oct 2008) | 2 lines #4131: FF3 doesn't write cookies.txt files. ................ r66939 | georg.brandl | 2008-10-16 16:36:39 -0500 (Thu, 16 Oct 2008) | 2 lines part of #4012: kill off old name "processing". ................ r66940 | georg.brandl | 2008-10-16 16:38:48 -0500 (Thu, 16 Oct 2008) | 2 lines #4083: add "as" to except handler grammar as per PEP 3110. ................ r66962 | benjamin.peterson | 2008-10-17 15:01:01 -0500 (Fri, 17 Oct 2008) | 1 line clarify CALL_FUNCTION #4141 ................ r66964 | georg.brandl | 2008-10-17 16:41:49 -0500 (Fri, 17 Oct 2008) | 2 lines Fix duplicate word. ................ r66973 | armin.ronacher | 2008-10-19 03:27:43 -0500 (Sun, 19 Oct 2008) | 3 lines Fixed #4067 by implementing _attributes and _fields for the AST root node. ................
* fix #3628; idle wouldn't start because of a typoBenjamin Peterson2008-09-191-1/+1
|
* fix more threading API related bugsBenjamin Peterson2008-06-131-2/+2
|
* Rename thread to _thread and dummy_thread to _dummy_thread. Issue #2875.Georg Brandl2008-05-251-1/+1
|
* Fix Queue -> queue.Georg Brandl2008-05-251-1/+1
|