Rémi Lapeyre <remi.lape...@henki.fr> added the comment:

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?

----------
nosy: +remi.lapeyre, vstinner

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39913>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to