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 remi.lapeyre
Recipients blueyed, docs@python, remi.lapeyre, vstinner
Date 2020-03-09.14:54:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1583765643.67.0.214228950934.issue39913@roundup.psfhosted.org>
In-reply-to
Content
warnings.WarningMessage was added in https://bugs.python.org/issue26568 at the same time than _showwarnmsg_impl() and _formatwarnmsg_impl().

The goal was to have public functions that took them instead of multiple arguments so it could be easily extended in the future. It looks like it never happened and as of today there is no way to use warnings.WarningMessage in user code.

Maybe it is time to bikeshed the names and add them?
History
Date User Action Args
2020-03-09 14:54:03remi.lapeyresetrecipients: + remi.lapeyre, vstinner, blueyed, docs@python
2020-03-09 14:54:03remi.lapeyresetmessageid: <1583765643.67.0.214228950934.issue39913@roundup.psfhosted.org>
2020-03-09 14:54:03remi.lapeyrelinkissue39913 messages
2020-03-09 14:54:03remi.lapeyrecreate