Message178867
| 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:06 | seberg | set | recipients:
+ seberg |
| 2013年01月03日 00:42:06 | seberg | set | messageid: <1357173726.64.0.0586309357998.issue16845@psf.upfronthosting.co.za> |
| 2013年01月03日 00:42:06 | seberg | link | issue16845 messages |
| 2013年01月03日 00:42:05 | seberg | create |
|