Message178867
`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. |
|
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 | |
|