Skip to content

[3.7] bpo-40417: Fix deprecation warning in PyImport_ReloadModule (GH-19750) #19935

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 6, 2020

Conversation

Robmaister
Copy link
Contributor

@Robmaister Robmaister commented May 5, 2020

Use importlib instead of imp.

Automerge-Triggered-By: @brettcannon.
(cherry picked from commit f40bd46)

Co-authored-by: Robert Rouhani [email protected]

…thonGH-19750)

I can add another commit with the new test case I wrote to verify that the warning was being printed before my change, stopped printing after my change, and that the function does not return null after my change.

Automerge-Triggered-By: @brettcannon.
(cherry picked from commit f40bd46)

Co-authored-by: Robert Rouhani <[email protected]>
@brettcannon
Copy link
Member

Re-running to get Travis green. Hopefully everything clears and this will automatically merge.

@miss-islington
Copy link
Contributor

@Robmaister: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit d64fd61 into python:3.7 May 6, 2020
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.

5 participants