diff options
author | Robert Rouhani <robert.rouhani@gmail.com> | 2020-05-01 23:28:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-01 23:28:06 (GMT) |
commit | f40bd466bf14029e2687e36e965875adf9d4be1a (patch) | |
tree | 87d20f5e639f5d96bafaa02bb8bebf3ac5a64796 /Misc | |
parent | 7ba08ff7b41911f972d0750e068a2270e0dbd68f (diff) | |
download | cpython-f40bd466bf14029e2687e36e965875adf9d4be1a.zip cpython-f40bd466bf14029e2687e36e965875adf9d4be1a.tar.gz cpython-f40bd466bf14029e2687e36e965875adf9d4be1a.tar.bz2 |
bpo-40417: Fix deprecation warning in PyImport_ReloadModule (GH-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
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2020-05-01-19-04-52.bpo-40417.Sti2lJ.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2020-05-01-19-04-52.bpo-40417.Sti2lJ.rst b/Misc/NEWS.d/next/Core and Builtins/2020-05-01-19-04-52.bpo-40417.Sti2lJ.rst new file mode 100644 index 0000000..932e853 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2020-05-01-19-04-52.bpo-40417.Sti2lJ.rst @@ -0,0 +1 @@ +Fix imp module deprecation warning when PyImport_ReloadModule is called. Patch by Robert Rouhani. |