Victor Stinner 1231a4615f Add _showwarnmsg() and _formatwarnmsg() to warnings
Issue #26568: add new  _showwarnmsg() and _formatwarnmsg() functions to the
warnings module.

The C function warn_explicit() now calls warnings._showwarnmsg() with a
warnings.WarningMessage as parameter, instead of calling warnings.showwarning()
with multiple parameters.

_showwarnmsg() calls warnings.showwarning() if warnings.showwarning() was
replaced. Same for _formatwarnmsg(): call warnings.formatwarning() if it was
replaced.
2016-03-19 00:47:17 +01:00
..
2015-08-24 20:23:27 -07:00
2016-02-25 23:25:14 -08:00
2016-03-02 11:31:06 -05:00
2016-03-14 22:07:55 +01:00
2016-01-26 00:40:57 +01:00
2016-02-20 12:59:36 -08:00
2016-01-27 00:37:59 +01:00
2015-11-10 12:11:52 +01:00
2016-01-26 00:40:57 +01:00
2016-03-14 12:04:26 +01:00

Miscellaneous source files for the main Python shared library