Author seberg
Recipients seberg
Date 2013-01-03.00:42:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1357173726.64.0.0586309357998.issue16845@psf.upfronthosting.co.za>
In-reply-to
Content
`warnings.simplefilter` does not validate that the category passed in is actually a class. This means that an invalid category leads to a `TypeError` whenever a warning would otherwise occur due to `issubclass` check failing.

It is a very small thing, but for usability it would be clearer if this was checked right away.
History
Date User Action Args
2013-01-03 00:42:06sebergsetrecipients: + seberg
2013-01-03 00:42:06sebergsetmessageid: <1357173726.64.0.0586309357998.issue16845@psf.upfronthosting.co.za>
2013-01-03 00:42:06seberglinkissue16845 messages
2013-01-03 00:42:05sebergcreate