]> 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:51:34 +0000 (23:51 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Sat, 29 Jun 2013 03:51:34 +0000 (23:51 -0400)
commit8eab008b53c9aeb1ceabac378ec4bf306fdde44b
treee3a27446516fc812da3f6e071e2cf75d72c19d34
parent35115e6aabda3284bf6ac1c4278ddbff70c62ccf
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