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, nnorwitz
Date 2007-10-17.00:35:25
SpamBayes Score 0.00082302693
Marked as misclassified No
Message-id <>
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.
File name Uploaded
_warnings.c brett.cannon, 2007-10-17.00:35:25
Date User Action Args
2007-10-17 00:35:29brett.cannonsetspambayes_score: 0.000823027 -> 0.00082302693
recipients: + brett.cannon, nnorwitz
2007-10-17 00:35:28brett.cannonsetspambayes_score: 0.000823027 -> 0.000823027
messageid: <>
2007-10-17 00:35:28brett.cannonlinkissue1631171 messages
2007-10-17 00:35:28brett.cannoncreate