]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue *18081, #18242: Change Idle warnings capture in PyShell and run to stop
authorTerry Jan Reedy <tjreedy@udel.edu>
Sat, 29 Jun 2013 03:50:12 +0000 (23:50 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Sat, 29 Jun 2013 03:50:12 +0000 (23:50 -0400)
commit95a3f11f95f0f1a3c35b431f9ea745cc9340a07c
treef698ac61585c0413e2953ecce8ba7293a97e4f3a
parent70d2c711f10b385a4bc04b1b827883e12acc0509
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.
Lib/idlelib/PyShell.py
Lib/idlelib/idle_test/test_warning.py [new file with mode: 0644]
Lib/idlelib/run.py