Author brett.cannon
Recipients brett.cannon, nnorwitz
Date 2007-10-17.00:35:25
SpamBayes Score 0.000823027
Marked as misclassified No
Message-id <1192581328.79.0.174866242166.issue1631171@psf.upfronthosting.co.za>
In-reply-to
Content
Attached is a new version of _warnings.c that checks to see if
'warnings' has been imported, and if so, uses the attributes from that
module for onceregistry and 'filters'.  I did it in such a way so that
'warnings' is in no way required nor imported through checking.

If Neal does a code review and OKs the approach then it can also be
implemented for showwarning() which should make testing test_warnings
possible.  =)  Then we can start testing that changes to the module
attributes actually affect things properly.
Files
File name Uploaded
_warnings.c brett.cannon, 2007-10-17.00:35:25
History
Date User Action Args
2007-10-17 00:35:29brett.cannonsetspambayes_score: 0.000823027 -> 0.000823027
recipients: + brett.cannon, nnorwitz
2007-10-17 00:35:28brett.cannonsetspambayes_score: 0.000823027 -> 0.000823027
messageid: <1192581328.79.0.174866242166.issue1631171@psf.upfronthosting.co.za>
2007-10-17 00:35:28brett.cannonlinkissue1631171 messages
2007-10-17 00:35:28brett.cannoncreate