Commit Graph

224 Commits

Author SHA1 Message Date
Terry Jan Reedy 95a3f11f95 Issue *18081, #18242: Change Idle warnings capture in PyShell and run to stop
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.
2013-06-28 23:50:12 -04:00
Roger Serwy 036e84924a #5492: Avoid traceback when exiting IDLE caused by a race condition. 2013-06-11 22:13:17 -05:00
Terry Jan Reedy ba6c0d3b08 #18151, part 1: Backport idlelilb portion of Andrew Svetlov's 3.4 patch
changing IOError to OSError (#16715).
2013-06-08 00:22:45 -04:00
Ned Deily 7f0882c920 Issue #17532: Always include Options menu for IDLE on OS X.
Patch by Guilherme Simões.
2013-05-22 15:19:40 -07:00
Roger Serwy 9bc7b793ea #13495: Avoid loading the color delegator twice in IDLE. 2013-05-05 22:15:44 -05:00
Roger Serwy 1eafd1076e #17585: Fixed IDLE regression. Now closes when using exit() or quit(). 2013-04-11 19:16:44 -05:00
Roger Serwy 6b7a5ae2c1 #14254: IDLE now handles readline correctly across shell restarts. 2013-04-03 00:42:24 -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 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
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 32622236d5 Issue #17390: Display Python version on Idle title bar. Patch by Edmond Burnett. 2013-03-30 18:32:19 -04: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 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
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
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
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
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
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
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 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
Ned Deily d3487be876 Issue #14962: merge 2012-05-31 09:58:08 -07:00
Ned Deily 5e247b705e Issue #14962: Update text coloring in IDLE shell window after changing
options.  Patch by Roger Serwy.
2012-05-31 09:17:29 -07:00
Ned Deily 8b2a56b89d Issue #14962: Update text coloring in IDLE shell window after changing
options.  Patch by Roger Serwy.
2012-05-31 09:17:29 -07:00
Terry Jan Reedy eaa7e7825e Issue #10365: File open dialog now works instead of crashing
even when parent window is closed. Patch by Roger Serwy.
2012-05-26 20:33:32 -04:00
Terry Jan Reedy 935d5eb43f Merge with 3.2
Issue #10365: File open dialog now works instead of crashing
even when parent window is closed. Patch by Roger Serwy.
2012-05-26 20:29:25 -04:00
Terry Jan Reedy cd6b8c67ce Issue #10365: File open dialog now works instead of crashing
even when parent window is closed. Patch by Roger Serwy.
2012-05-26 20:23:45 -04:00
Andrew Svetlov cd49d53238 Issue #14200 — now displayhook for IDLE works in non-subprocess mode as well as subprecess. 2012-03-25 11:43:02 +03:00
Andrew Svetlov 7c010ee00c #3573: idle now doesn't hungs if launched as: idle -e <directory>
Patch by Guilherme Polo.
2012-03-21 13:35:08 +02:00
Andrew Svetlov 0f71f44156 #3573: idle now doesn't hungs if launched as: idle -e <directory>
Patch by Guilherme Polo.
2012-03-21 13:23:41 +02:00
Andrew Svetlov 6b6e437626 #3573: idle now doesn't hungs if launched as: idle -e <directory>
Patch by Guilherme Polo.
2012-03-20 23:03:26 +02:00
Andrew Svetlov 05bab93339 Issue #14200: Idle shell crash on printing non-BMP unicode character.
UnicodeEncodeError is raised for strings contains non-BMP characters.
For eval results unicode escaping is used, print() calls display
exception with traceback as usual.
2012-03-14 13:22:12 -07:00
Terry Jan Reedy 5d605c2861 Merge with 3.2 whitespace 2012-01-31 02:58:39 -05:00
Terry Jan Reedy 4d82ade424 whitespace 2012-01-31 02:57:29 -05:00
Terry Jan Reedy f8672bec68 Merge 3.2
- Issue #13506: Add '' to path for IDLE Shell when started and restarted with Restart Shell.
  Original patches by Marco Scataglini and Roger Serwy.
Merge 3.2 #13506 Add '' to path for interactive interpreter by adding with_cwd
parameter to PyShell.PyShell.transfer_path() and changing elsewhere as needed.
Original patches by Marco Scataglini and Roger Serwy.
2012-01-31 02:42:19 -05:00
Terry Jan Reedy da4c467210 #13506 Add '' to path for interactive interpreter by adding with_cwd parameter
to PyShell.PyShell.transfer_path() and changing elsewhere as needed.
Original patches by Marco Scataglini and Roger Serwy.
2012-01-31 02:26:32 -05:00
Terry Jan Reedy 1d4ae48f48 whitespace3 2012-01-31 02:55:32 -05:00
Terry Jan Reedy b98000ab5b #13506 Add '' to path for interactive interpreter by adding with_cwd parameter
to PyShell.PyShell.transfer_path() and changing elsewhere as needed.
Original patches by Marco Scataglini and Roger Serwy.
2012-01-31 02:09:25 -05:00
Ned Deily 1b0b6ae36b Issue #4625: If IDLE cannot write to its recent file or breakpoint
files, display a message popup and continue rather than crash.
(original patch by Roger Serwy)
2011-12-14 15:03:31 -08:00