This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brett.cannon
Recipients brett.cannon
Date 2008-08-19.18:35:44
SpamBayes Score 3.2222178e-07
Marked as misclassified No
Message-id <1219170947.01.0.817487779131.issue3602@psf.upfronthosting.co.za>
In-reply-to
Content
Since most UNIX distros don't ship Python's test directory,
test.test_support.catch_warning() needs to be moved to the 'warnings'
directory so it can be used to suppress warnings in modules outside the
'test' package.

The default for 'record' will change to False so it is less
test-oriented. The name might change as well since it is more about
saving the state of 'warnings' then actually catching an exception,
although having it return an object representation of a warning makes
the current name make sense.
History
Date User Action Args
2008-08-19 18:35:47brett.cannonsetrecipients: + brett.cannon
2008-08-19 18:35:47brett.cannonsetmessageid: <1219170947.01.0.817487779131.issue3602@psf.upfronthosting.co.za>
2008-08-19 18:35:45brett.cannonlinkissue3602 messages
2008-08-19 18:35:44brett.cannoncreate