summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorJoannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>2019-09-11 12:47:39 (GMT)
committerBrett Cannon <54418+brettcannon@users.noreply.github.com>2019-09-11 12:47:39 (GMT)
commit37c22206981f52ae35c28b39f7530f8438afbfdb (patch)
treec22116bb330892a90d74b5211ec2b11d228dd42b /Misc
parent60bba83b5d9947fb3106325293e3a4e9c9cdea7e (diff)
downloadcpython-37c22206981f52ae35c28b39f7530f8438afbfdb.zip
cpython-37c22206981f52ae35c28b39f7530f8438afbfdb.tar.gz
cpython-37c22206981f52ae35c28b39f7530f8438afbfdb.tar.bz2
bpo-35943: Prevent PyImport_GetModule() from returning a partially-initialized module (GH-15057)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-07-31-15-52-51.bpo-35943.-KswoB.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-07-31-15-52-51.bpo-35943.-KswoB.rst b/Misc/NEWS.d/next/Library/2019-07-31-15-52-51.bpo-35943.-KswoB.rst
new file mode 100644
index 0000000..b1c5560
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-07-31-15-52-51.bpo-35943.-KswoB.rst
@@ -0,0 +1,2 @@
+The function :c:func:`PyImport_GetModule` now ensures any module it returns is fully initialized.
+Patch by Joannah Nanjekye.