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 2012-05-11.19:40:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1336765216.03.0.0611996113989.issue14784@psf.upfronthosting.co.za>
In-reply-to
Content
If you run test.test_warnings it reports that warnings.filters changed. If you comment out the import of c_warnings in that module, the warning goes away (this happens with running on tests).

It looks like _PyWarnings_Init() itself doesn't trigger a reprocessing of the sys.warnoptions as an import of warnings.py does, and thus the change in warnings.filter.
History
Date User Action Args
2012-05-11 19:40:16brett.cannonsetrecipients: + brett.cannon
2012-05-11 19:40:16brett.cannonsetmessageid: <1336765216.03.0.0611996113989.issue14784@psf.upfronthosting.co.za>
2012-05-11 19:40:15brett.cannonlinkissue14784 messages
2012-05-11 19:40:15brett.cannoncreate