]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40417: Fix deprecation warning in PyImport_ReloadModule (GH-19750)
authorRobert Rouhani <robert.rouhani@gmail.com>
Fri, 1 May 2020 23:28:06 +0000 (16:28 -0700)
committerGitHub <noreply@github.com>
Fri, 1 May 2020 23:28:06 +0000 (16:28 -0700)
commitf40bd466bf14029e2687e36e965875adf9d4be1a
tree87d20f5e639f5d96bafaa02bb8bebf3ac5a64796
parent7ba08ff7b41911f972d0750e068a2270e0dbd68f
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
Misc/NEWS.d/next/Core and Builtins/2020-05-01-19-04-52.bpo-40417.Sti2lJ.rst [new file with mode: 0644]
Python/import.c