Commit Graph

1283 Commits

Author SHA1 Message Date
Roger Serwy d673ed9b43 #17613: merge with 3.3. 2013-04-07 12:42:13 -05:00
Roger Serwy 7733be8f26 #17613: Prevent traceback when removing syntax colorizer in IDLE. 2013-04-07 12:41:16 -05:00
Roger Serwy 4687cf795c #1207589: merge with 3.3. 2013-04-07 12:17:17 -05:00
Roger Serwy 6b2918ae75 #1207589: Backwards-compatibility patch for right-click menu in IDLE. 2013-04-07 12:15:52 -05:00
Roger Serwy cdbb06c15c #16887: merge with 3.3. 2013-04-06 20:31:26 -05:00
Roger Serwy 0ef392cde7 #16887: IDLE now accepts Cancel in tabify/untabify dialog box. 2013-04-06 20:26:53 -05:00
Georg Brandl 98297f4807 merge with 3.3 2013-04-06 16:47:34 +02:00
Georg Brandl cca5548159 merge with 3.3.1 release clone 2013-04-06 16:42:43 +02:00
Georg Brandl 2fd4abe6a1 merge with 3.2 branch 2013-04-06 16:39:49 +02:00
Georg Brandl 9aa23c5671 Bump to 3.3.1. 2013-04-06 09:40:02 +02:00
Georg Brandl 8bc7e31529 Bump to 3.2.4. 2013-04-06 09:36:20 +02:00
Benjamin Peterson 4d34bae217 merge 3.3 (#17625) 2013-04-03 22:38:00 -04:00
Benjamin Peterson 38546ee51c close search and replace dialog after it is used (closes #17625) 2013-04-03 22:35:12 -04:00
Benjamin Peterson 7684fa8a38 close search and replace dialog after it is used (closes #17625) 2013-04-03 22:35:12 -04:00
Benjamin Peterson cf658c2833 close search and replace dialog after it is used (closes #17625) 2013-04-03 22:35:12 -04:00
Roger Serwy 1be94cea0f #14254: merge with 3.3. 2013-04-03 00:43:31 -05:00
Roger Serwy 6b7a5ae2c1 #14254: IDLE now handles readline correctly across shell restarts. 2013-04-03 00:42:24 -05:00
Roger Serwy a64a084670 #17614: merge with 3.3. 2013-04-02 22:40:39 -05:00
Roger Serwy 0d28a61d23 #17614: IDLE no longer raises exception when quickly closing a file. 2013-04-02 22:39:39 -05:00
Roger Serwy d7c9d9cdcd #17614: IDLE no longer raises exception when quickly closing a file. 2013-04-02 22:37:12 -05:00
Roger Serwy af504ca017 #6698: merge with 3.3. 2013-03-31 23:31:32 -05:00
Roger Serwy 34d0c66ef2 #6698: IDLE now opens just an editor window when configured to do so. 2013-03-31 23:28:55 -05:00
Roger Serwy c35151cf41 #6698: IDLE now opens just an editor window when configured to do so. 2013-03-31 23:28:55 -05:00
Roger Serwy 6d5bfad545 #8900: merge with 3.3. 2013-03-31 15:56:02 -05:00
Roger Serwy cadd7864d8 #8900: Using keyboard shortcuts in IDLE to open a file no longer raises an exception. 2013-03-31 15:53:08 -05:00
Roger Serwy 420e2d8e39 #8900: Using keyboard shortcuts in IDLE to open a file no longer raises an exception. 2013-03-31 15:53:08 -05:00
Roger Serwy 3aaf5dab8a #6649: merge with 3.3. 2013-03-31 01:11:26 -05:00
Roger Serwy 71c9e1a5c3 #6649: Fixed missing exit status in IDLE. Patch by Guilherme Polo. 2013-03-31 01:00:15 -05:00
Roger Serwy 6e4e4abf16 #6649: Fixed missing exit status in IDLE. Patch by Guilherme Polo. 2013-03-31 00:57:16 -05:00
Terry Jan Reedy d676a3a221 Issue #17390: Display Python version on Idle title bar. Patch by Edmond Burnett. 2013-03-30 18:50:43 -04:00
Terry Jan Reedy 42a83201a0 Merge from 3.3: Issue #17390 2013-03-30 18:39:14 -04:00
Terry Jan Reedy 32622236d5 Issue #17390: Display Python version on Idle title bar. Patch by Edmond Burnett. 2013-03-30 18:32:19 -04:00
Benjamin Peterson a1f6fab464 version to 2.7.4rc1 2013-03-23 10:17:29 -05:00
Georg Brandl d08d0b1c69 Bump to 3.3.1rc1. 2013-03-23 16:05:12 +01:00
Georg Brandl b673d99698 Bump to 3.2.4rc1. 2013-03-23 16:02:08 +01:00
Terry Jan Reedy 16b5c13668 Merge 3.3, issue #17047: remove doubled words found in 2.7 to
3.4 Lib/*, as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 17:59:07 -04:00
Terry Jan Reedy 98472b8396 Merge 3.2, issue #17047: remove doubled words found in 2.7 to
3.4 Lib/*, as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 17:58:27 -04:00
Terry Jan Reedy c30b7b16ea Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*,
as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 17:57:08 -04:00
Terry Jan Reedy a70f60acf3 Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*,
as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 17:56:17 -04:00
Raymond Hettinger 4234992c75 Keep IDLE from displaying spurious SystemExit tracebacks
when running scripts that terminated by raising SystemExit
(i.e. unittest and turtledemo).
2013-02-09 14:20:55 -05:00
Serhiy Storchaka d971793d15 Issue #17114: IDLE now uses non-strict config parser. 2013-02-07 15:25:33 +02:00
Serhiy Storchaka 705ef7a03d Issue #17114: IDLE now uses non-strict config parser. 2013-02-07 15:25:09 +02:00
Serhiy Storchaka 8995300298 Issue #17114: IDLE now uses non-strict config parser. 2013-02-07 15:24:36 +02:00
Serhiy Storchaka 4c9bae3d31 Issue #9290: In IDLE the sys.std* streams now implement io.TextIOBase
interface and support all mandatory methods and properties.
2013-01-25 15:35:28 +02:00
Serhiy Storchaka b1b3c0dfef Issue #9290: In IDLE the sys.std* streams now implement io.TextIOBase
interface and support all mandatory methods and properties.
2013-01-25 15:34:21 +02:00
Serhiy Storchaka 39e70a4e83 Issue #9290: In IDLE the sys.std* streams now implement io.TextIOBase
interface and support all mandatory methods and properties.
2013-01-25 15:30:58 +02:00
Andrew Svetlov 1bd7f02c81 Issue #5066: Update IDLE docs
Patch by Todd Rovito
2013-01-14 19:27:36 +02:00
Serhiy Storchaka 52f80a7041 Issue #16829: IDLE printing no longer fails if there are spaces or other
special characters in the file path.
2013-01-12 18:17:24 +02:00
Serhiy Storchaka 69db587f86 Issue #16829: IDLE printing no longer fails if there are spaces or other
special characters in the file path.
2013-01-12 18:16:18 +02:00
Serhiy Storchaka 74fe9f307d Issue #16829: IDLE printing no longer fails if there are spaces or other
special characters in the file path.
2013-01-12 18:13:24 +02:00
Serhiy Storchaka df558cb3b1 Issue #16491: IDLE now prints chained exception tracebacks. 2013-01-09 12:26:54 +02:00
Serhiy Storchaka 7131749959 Issue #16491: IDLE now prints chained exception tracebacks. 2013-01-09 12:24:48 +02:00
Serhiy Storchaka 78470b4c3a Issue #16491: IDLE now prints chained exception tracebacks. 2013-01-09 12:21:57 +02:00
Serhiy Storchaka a97274cbcf Issue #16819: IDLE method completion now correctly works for bytes literals. 2013-01-01 22:33:19 +02:00
Serhiy Storchaka eb6aa5c525 Issue #16819: IDLE method completion now correctly works for bytes literals. 2013-01-01 22:32:42 +02:00
Serhiy Storchaka 8c126d7abd Issue #16819: IDLE method completion now correctly works for bytes literals. 2013-01-01 22:25:59 +02:00
Serhiy Storchaka ffa1795461 Issue #16504: Catch SyntaxErrors raised by tokenizer in IDLE.
Patch by Roger Serwy.
2012-12-27 21:54:19 +02:00
Serhiy Storchaka 64df4a1c45 Issue #16504: Catch SyntaxErrors raised by tokenizer in IDLE.
Patch by Roger Serwy.
2012-12-27 21:53:06 +02:00
Serhiy Storchaka 07e0e06f8a Issue #16504: Catch SyntaxErrors raised by tokenizer in IDLE.
Patch by Roger Serwy.
2012-12-27 21:38:04 +02:00
Andrew Svetlov f7a17b48d7 Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
Andrew Svetlov 6a7a49c631 Issue #16511: Use default IDLE width and height if config param is not valid.
Patch Serhiy Storchaka.
2012-12-24 13:17:11 +02:00
Andrew Svetlov 7174f0883c Issue #16511: Use default IDLE width and height if config param is not valid.
Patch Serhiy Storchaka.
2012-12-24 13:16:47 +02:00
Andrew Svetlov 8a495a48a5 Issue #16511: Use default IDLE width and height if config param is not valid.
Patch Serhiy Storchaka.
2012-12-24 13:15:43 +02:00
Andrew Svetlov 2606a6f197 Issue #16719: Get rid of WindowsError. Use OSError instead
Patch by Serhiy Storchaka.
2012-12-19 14:33:35 +02:00
Andrew Svetlov 0832af6628 Issue #16717: get rid of socket.error, replace with OSError 2012-12-18 23:10:48 +02:00
Andrew Svetlov 786fbd8db7 Replace os.error with OSError in tkinter and IDLE 2012-12-17 19:51:15 +02:00
Chris Jerdonek e53e44f3bb Issue #16629: Merge IDLE test fix from 3.3. 2012-12-09 18:22:21 -08:00
Chris Jerdonek af72f9ea9c Issue #16629: Merge IDLE test fix from 3.2. 2012-12-09 18:19:54 -08:00
Chris Jerdonek 175196886e Issue #16629: Fix IDLE idlelib.CallTips test. Patch by Roger Serwy.
This commit updates a test broken by the change made for issue #14783.
2012-12-09 18:17:27 -08:00
Andrew Svetlov d98ee9781b Merge issue #1207589: Add Cut/Copy/Paste items to IDLE right click Context Menu
Patch by Todd Rovito.
2012-11-01 22:44:45 +02:00
Andrew Svetlov e2af509829 Merge issue #1207589: Add Cut/Copy/Paste items to IDLE right click Context Menu
Patch by Todd Rovito.
2012-11-01 22:44:06 +02:00
Andrew Svetlov d183767ca4 Issue #1207589: Add Cut/Copy/Paste items to IDLE right click Context Menu
Patch by Todd Rovito.
2012-11-01 22:41:19 +02:00
Ned Deily a212114a96 Issue #15853: merge 3.3 -> default 2012-10-22 15:20:13 -07:00
Ned Deily b6d24d9746 Issue #15853: merge 3.2 -> 3.3 2012-10-22 15:18:46 -07:00
Ned Deily fdf0f274e6 Issue #15853: Prevent IDLE crash on OS X when opening Preferences menu
with certain versions of Tk 8.5.  Initial patch by Kevin Walzer.
2012-10-22 15:14:31 -07:00
Ned Deily 257c1323f7 Issue #10405: merge from 3.3 2012-10-20 13:28:16 -07:00
Ned Deily d2cc1bb057 Issue #10405: merge from 3.2 2012-10-20 13:27:32 -07:00
Ned Deily 2778d0d147 Issue #10405: Document IDLE context menus in Standard Library document
and IDLE Help file.  (Thanks to Nick ODell and Todd Rovito for suggestions.)
Update Debug menu options in docs to match current code plus various other
minor IDLE doc and help edits.
2012-10-20 13:25:34 -07:00
Ned Deily 5d590d8705 Issue #16226: Fix IDLE Path Browser crash.
(Patch by Roger Serwy)
2012-10-18 18:19:11 -07:00
Ned Deily bfbf3f139d Issue #16226: Fix IDLE Path Browser crash.
(Patch by Roger Serwy)
2012-10-18 18:16:44 -07:00
Andrew Svetlov 64478ac219 normalize whitespaces 2012-10-05 22:16:55 +03:00
Andrew Svetlov 9b1e59a2b3 Issue #16123: IDLE - deprecate running without a subprocess.
Patch by Roger Serwy
2012-10-05 22:12:44 +03:00
Andrew Svetlov 6964f4b790 Merge: Issue #14997: disable <F5> in idle shell window.
Thanks to Roger Serwy for patch.
2012-10-04 22:50:58 +03:00
Andrew Svetlov eb0314f5a8 Merge: Issue #14997: disable <F5> in idle shell window.
Thanks to Roger Serwy for patch.
2012-10-04 22:50:13 +03:00
Andrew Svetlov 4ca222d4d5 Issue #14997: disable <F5> in idle shell window.
Thanks to Roger Serwy for patch.
2012-10-04 22:48:34 +03:00
Georg Brandl 08a9012352 Bump version to 3.4.0 alpha 0. 2012-09-29 09:34:13 +02:00
Georg Brandl c7dcd50e4e Bump version to 3.3.0 final. 2012-09-29 09:04:54 +02:00
Georg Brandl 8506d3591c Bump to 3.3.0rc3. 2012-09-23 17:15:21 +02:00
Georg Brandl 02f66cbe87 Bump to 3.3.0rc2. 2012-09-09 08:56:46 +02:00
Georg Brandl 4ab4ec258c Bump to 3.3.0rc1. 2012-08-25 12:16:37 +02:00
Ned Deily 6aaa03a901 Issue #15678: Fix menu customization for IDLE started from OS X
command lines.  It was broken as a side effect of the changes to
pythonw.c in b79d276041a8 for #15307.  Since sys.executable no
longer includes 'Python.app' in the path name, test for a
framework build instead.  This should give the previous behavior
in nearly all cases.  Whether the previous behavior is sensible
is left as an issue for later releases.  IDLE.app behavior was
not affected as it does its own manipulation of sys.executable.
2012-08-17 13:22:30 -07:00
Georg Brandl 1b94ab79a9 Bump to 3.3b2. 2012-08-11 08:49:20 +02:00
Andrew Svetlov fa556bd75c Issue #13052: Fix IDLE crashing when replace string in Search/Replace dialog ended with '\'.
Patch by Roger Serwy.
2012-08-04 21:42:48 +03:00
Andrew Svetlov 5ad514d281 Issue #13052: Fix IDLE crashing when replace string in Search/Replace dialog ended with '\'.
Patch by Roger Serwy.
2012-08-04 21:38:22 +03:00
Andrew Svetlov 233f6845b3 Issue #9803: Don't close IDLE on saving if breakpoint is open.
Patch by Roger Serwy.
2012-07-31 19:49:38 +03:00
Andrew Svetlov 06c5c6d694 Issue #9803: Don't close IDLE on saving if breakpoint is open.
Patch by Roger Serwy.
2012-07-31 19:48:00 +03:00
Ned Deily eb00d09718 Issue #14018: merge 2012-07-30 03:38:02 -07:00
Ned Deily c556c64405 Issue #14018: Update the OS X IDLE Tcl/Tk warning check to include
the Apple-supplied Tck/Tk versions shipped with OS X 10.7 and 10.8.
They are not as buggy as the 10.6 version but can still easily crash.
2012-07-30 03:31:21 -07:00
Martin v. Löwis 099414875b merge 3.2 2012-07-25 11:33:02 +02:00
Martin v. Löwis 30d5e6c13f Issue #7163: Propagate return value of sys.stdout.write.
Patch by Roger Serwy.
2012-07-25 11:32:26 +02:00
Martin v. Löwis f4b341b0e6 merge 3.2 2012-07-25 10:49:32 +02:00
Martin v. Löwis c882b7c51a Issue #15318: Prevent writing to sys.stdin.
Patch by Roger Serwy and myself.
2012-07-25 10:47:20 +02:00
Serhiy Storchaka 9abc830c6a Issue #9290: In IDLE the sys.std* streams now implement io.TextIOBase
interface and support all mandatory methods and properties.
2013-01-25 15:30:35 +02:00
Serhiy Storchaka eebcb5f790 Issue #16829: IDLE printing no longer fails if there are spaces or other
special characters in the file path.
2013-01-12 18:12:27 +02:00
Serhiy Storchaka 14224420d0 Issue #16819: IDLE method completion now correctly works for unicode literals. 2013-01-01 22:27:45 +02:00
Ned Deily 10e93a6d40 Issue #14958: backport to 2.7.x from 3.3 (patch by Roger Serwy) 2012-12-31 15:06:38 -08:00
Serhiy Storchaka 61006a2113 Issue #16504: Catch SyntaxErrors raised by tokenizer in IDLE. 2012-12-27 21:34:23 +02:00
Andrew Svetlov d8590ff209 Issue #16511: Use default IDLE width and height if config param is not valid.
Patch Serhiy Storchaka.
2012-12-24 13:17:59 +02:00
Andrew Svetlov 5018db76aa Issue #1207589: Add Cut/Copy/Paste items to IDLE right click Context Menu
Patch by Todd Rovito.
2012-11-01 22:39:14 +02:00
Ned Deily e3d47128c5 Issue #15853: Prevent IDLE crash on OS X when opening Preferences menu
with certain versions of Tk 8.5.  Initial patch by Kevin Walzer.
2012-10-22 15:13:01 -07:00
Ned Deily c859bd2b28 Issue #10405: Document IDLE context menus in Standard Library document
and IDLE Help file.  (Thanks to Nick ODell and Todd Rovito for suggestions.)
Update Debug menu options in docs to match current code plus various other
minor IDLE doc and help edits.
2012-10-20 13:23:25 -07:00
Andrew Svetlov 45c0766c02 Issue #14997: disable <F5> in idle shell window.
Thanks to Roger Serwy for patch.
2012-10-04 22:52:07 +03:00
Andrew Svetlov 8ba844ac14 Issue #13052: Fix IDLE crashing when replace string in Search/Replace dialog ended with '\'.
Patch by Roger Serwy.
2012-08-04 21:45:23 +03:00
Andrew Svetlov 8a15c37df7 Issue #9803: Don't close IDLE on saving if breakpoint is open.
Patch by Roger Serwy.
2012-07-31 19:51:27 +03:00
Ned Deily 38df514296 Issue #14018: Update the OS X IDLE Tcl/Tk warning check to include
the Apple-supplied Tck/Tk versions shipped with OS X 10.7 and 10.8.
They are not as buggy as the 10.6 version but can still easily crash.
2012-07-30 03:28:22 -07:00
Martin v. Löwis e2b5624ee8 Issue #15318: Prevent writing to sys.stdin.
Patch by Roger Serwy and myself.
2012-07-25 10:56:22 +02:00
Martin v. Löwis 3e0cc0f12c Use _RPCFile.write properly. 2012-07-11 09:19:16 +02:00
Martin v. Löwis 67097fd592 Use _RPCFile.write properly. 2012-07-11 09:17:15 +02:00
Martin v. Löwis 1ba32187c0 Don't use TextIOBase implementations in _RPCFile. 2012-07-11 08:49:58 +02:00
Martin v. Löwis c27616580d Don't use TextIOBase implementations in _RPCFile. 2012-07-11 08:48:34 +02:00
Martin v. Löwis dbde88696b Issue #15319: Revert wrapping of sys.stdin. Patch by Serhiy Storchaka. 2012-07-11 08:32:05 +02:00
Martin v. Löwis 8a75bed317 Issue #15319: Revert wrapping of sys.stdin. Patch by Serhiy Storchaka. 2012-07-11 08:29:03 +02:00
Ned Deily c65ef9bf55 Issue #4832: Modify IDLE to save files with .py extension by
default on Windows and OS X as it already does with X11 Tk.
2012-07-09 18:16:11 -07:00
Martin v. Löwis fa0989fd38 merge 3.2 2012-07-11 09:17:54 +02:00
Martin v. Löwis ff40aa7b34 merge 3.2 2012-07-11 08:49:24 +02:00
Martin v. Löwis 9ba4545f97 merge 3.2 2012-07-11 08:29:55 +02:00
Terry Jan Reedy f8fc674f0b Issue 13532: Allow bytearrays to be written also. 2012-07-09 17:57:13 -04:00
Martin v. Löwis 9e6bf1a8ee Widen test to support unicode. 2012-07-09 21:07:41 +02:00
Martin v. Löwis e8e4e1456c - Issue #13532: Check that arguments to sys.stdout.write are strings. 2012-07-09 21:01:49 +02:00
Martin v. Löwis 7df5e5858b merge 3.2 2012-07-09 20:53:03 +02:00
Martin v. Löwis 1d0f6dd7db normalize whitespace 2012-07-09 20:52:40 +02:00
Martin v. Löwis 79007fa05d merge 3.2 2012-07-09 20:48:56 +02:00
Martin v. Löwis 9ae3f7a189 Issue #13532: Check that arguments to sys.stdout.write are strings. 2012-07-09 20:46:11 +02:00
Terry Jan Reedy cc4cffb8fa Merge with 3.2 Issue 12510 2012-07-09 00:15:14 -04:00
Terry Jan Reedy 44dea9d03f Issue 12510: Delete actual first param name for all methods; revise tests. 2012-07-09 00:13:21 -04:00
Georg Brandl d08cec6d62 Bump version to 3.3.0b1. 2012-06-26 09:43:40 +02:00
Martin v. Löwis 474eb23b7f merge 3.2 2012-06-14 15:37:53 +02:00
Martin v. Löwis 993fe3f035 Issue #14937: Fix typo. Patch by Roger Serwy. 2012-06-14 15:37:21 +02:00
Terry Jan Reedy 571ee57695 Merge from 3.2, #12510 2012-06-07 20:04:17 -04:00
Terry Jan Reedy 5525eb77fa NEWS fixes 2012-06-07 19:50:30 -04:00
Terry Jan Reedy 2a2ce4f673 Issue #12510: Revise and triple # of calltip tests, with an eye to unittest
use. Make the get_entity 'method' a module function as it did not use 'self'.
Delete buggy _find_constructor function that is not needed, at least in 3.x.
Revise get_argspec so all tests pass.  Add and fix NEWS entries.
2012-06-07 19:41:04 -04:00
Martin v. Löwis f20940792d merge 3.2 2012-06-03 12:33:23 +02:00
Martin v. Löwis 9f44a66abc PEP 3131: support non-ASCII characters in auto-completion of identifiers. 2012-06-03 12:32:42 +02:00
Martin v. Löwis 97aa21b46a Do not try to insert control characters. 2012-06-03 12:26:09 +02:00
Martin v. Löwis 428d161b57 Drop unused constant. 2012-06-03 12:03:29 +02:00
Martin v. Löwis 156989aa79 Merge 3.2: issue #14937. 2012-06-03 12:00:48 +02:00
Martin v. Löwis 862d13a30f Issue #14937: Perform auto-completion of filenames in strings even for non-ASCII filenames. 2012-06-03 11:55:32 +02:00
Terry Jan Reedy a317eef897 Merge with 3.2 #12510 2012-06-03 01:06:38 -04:00
Terry Jan Reedy e93bc51b59 Issue 12510: Expand 2 bare excepts. Improve comments. Change deceptive name
'name' to 'expression' as the latter is what the string actually represents.
The bug in this issue was only catching NameError and AttributeError when
evaluating an expression that was not necessarily a name.
2012-06-03 00:58:36 -04:00
Terry Jan Reedy e606e238ab Issue 12510: Expand 2 bare excepts. Improve comments. Change deceptive name
'name' to 'expression' as the latter is what the string actually represents.
The bug in this issue was only catching NameError and AttributeError when
evaluating an expression that was not necessarily a name.
2012-06-03 00:27:54 -04:00