summaryrefslogtreecommitdiff
path: root/Python/dynload_win.c
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2020-07-06 19:55:43 +0100
committerGitHub <noreply@github.com>2020-07-06 14:55:43 -0400
commit46cbf6148a46883110883488d3e9febbe46ba861 (patch)
tree1ed21b0a6c6161ffa67420dbdfecec67a0cb951d /Python/dynload_win.c
parentcfc7ff8d05f7a949a88b8a8dd506fb5c1c30d3e9 (diff)
downloadcpython-git-46cbf6148a46883110883488d3e9febbe46ba861.tar.gz
[3.6] bpo-29778: Ensure python3.dll is loaded from correct locations when Python is embedded (GH-21298) (#21354)
* bpo-29778: Ensure python3.dll is loaded from correct locations when Python is embedded (GH-21298) * bpo-29778: Ensure python3.dll is loaded from correct locations when Python is embedded. * Add CVE number * Updates for 3.6
Diffstat (limited to 'Python/dynload_win.c')
-rw-r--r--Python/dynload_win.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/dynload_win.c b/Python/dynload_win.c
index 0fdf77f552..a307188823 100644
--- a/Python/dynload_win.c
+++ b/Python/dynload_win.c
@@ -192,9 +192,7 @@ dl_funcptr _PyImport_FindSharedFuncptrWindows(const char *prefix,
char funcname[258], *import_python;
const wchar_t *wpathname;
-#ifndef _DEBUG
_Py_CheckPython3();
-#endif
wpathname = _PyUnicode_AsUnicode(pathname);
if (wpathname == NULL)