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 remram
Recipients remram
Date 2014-10-02.21:32:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:00remramsetrecipients: + remram
2014-10-02 21:32:00remramsetmessageid: <>
2014-10-02 21:32:00remramlinkissue22543 messages
2014-10-02 21:32:00remramcreate