[proxy] github.com← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

bpo-33509: Fix _warnings for module_globals=None by vstinner · Pull Request #6833 · python/cpython

the-knights-who-say-ni

Don't crash on warnings.warn_explicit() if module_globals is None.

1st1 approved these changes May 14, 2018

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

May 15, 2018

Don't crash on warnings.warn_explicit() if module_globals is not a dict.
(cherry picked from commit b056562)

Co-authored-by: Victor Stinner <vstinner@redhat.com>

miss-islington added a commit that referenced this pull request

May 15, 2018

Don't crash on warnings.warn_explicit() if module_globals is not a dict.
(cherry picked from commit b056562)

Co-authored-by: Victor Stinner <vstinner@redhat.com>