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, exarkun, pitrou
Date 2008-09-05.04:11:58
SpamBayes Score 0.0019224611
Marked as misclassified No
Message-id <1220587920.28.0.863516835295.issue3781@psf.upfronthosting.co.za>
In-reply-to
Content
The attached patch has WarningsRecorder raise AttributeError when there
is no recorded attribute and yet one tries to access warnings attributes.

And just so you know, JP, make sure to use keyword arguments when
calling catch_warnings() (in case you didn't notice the note in the
docs). In Py3K they are keyword-only.
History
Date User Action Args
2008-09-05 04:12:00brett.cannonsetrecipients: + brett.cannon, exarkun, pitrou
2008-09-05 04:12:00brett.cannonsetmessageid: <1220587920.28.0.863516835295.issue3781@psf.upfronthosting.co.za>
2008-09-05 04:11:59brett.cannonlinkissue3781 messages
2008-09-05 04:11:58brett.cannoncreate