_warnings.warn_explicit(): try to import warnings
Issue #26592: _warnings.warn_explicit() now tries to import the warnings module (Python implementation) if the source parameter is set to be able to log the traceback where the source was allocated.
V
Victor Stinner committed
e98445a4deb2b2eb97de26e03fc8c4c2a5f256d4
Parent: 7bfa409