◐ Shell
reader mode source ↗
Skip to content

[3.7] bpo-33509: Fix _warnings for module_globals=None (GH-6833)#6870

Merged
miss-islington merged 1 commit into
python:3.7from
miss-islington:backport-b056562-3.7
May 15, 2018
Merged

[3.7] bpo-33509: Fix _warnings for module_globals=None (GH-6833)#6870
miss-islington merged 1 commit into
python:3.7from
miss-islington:backport-b056562-3.7

Conversation

@miss-islington

@miss-islington miss-islington commented May 15, 2018

Copy link
Copy Markdown
Contributor

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

https://bugs.python.org/issue33509

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>

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hide comment

LGTM, good bot.

@miss-islington

Copy link
Copy Markdown
Contributor Author

@vstinner: Backport status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 820219f into python:3.7 May 15, 2018
@miss-islington

Copy link
Copy Markdown
Contributor Author

Thanks!

@miss-islington miss-islington deleted the backport-b056562-3.7 branch May 15, 2018 20:56
@vstinner

Copy link
Copy Markdown
Member

"@miss-islington: Thanks!"

Oh. You're welcome. It was a pleasure to work with you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants