Message228261
warnings._processoptions is called very early, before site-packages are enabled. Because of this, using a non-standard 'category' will almost certainly fail with the message:
Invalid -W option ignored: invalid module name: '...'
The -W option would be a lot more useful if it could actually match non-standard categories (it does, after all, pretend to support modulename.classname).
I don't see any easy way of fixing this, other than initializing the warnings module later or matching category names with the given string (and getting rid of the import). |
|
Date |
User |
Action |
Args |
2014-10-02 21:32:00 | remram | set | recipients:
+ remram |
2014-10-02 21:32:00 | remram | set | messageid: <1412285520.72.0.615712160291.issue22543@psf.upfronthosting.co.za> |
2014-10-02 21:32:00 | remram | link | issue22543 messages |
2014-10-02 21:32:00 | remram | create | |
|