New submission from Arthur Neufeld :
In application compiled with
#define Py_LIMITED_API 0x0304
this method was used
Py_FinalizeEx()
Tested application with:
SET PATH=...;C:\Program Files\Python35
APPLICATION.EXE
Result:
Entry Point Not Found
(X) The procedure entry point Py_FinalizeEx could not be located
in the dynamic link library
C:\PATH\TO\APPLICATION.EXE
Expected Result:
Application runs
Rebuilding, after replacing Py_FinalizeEx(void) with Py_Finalize(void):
Application runs when pointing to 3.5 DLLs.
Suggested resolution:
Declaration should be restricted to ABI 3.6+:
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x0306
PyAPI_FUNC(int) Py_FinalizeEx(void);
#endif
--
components: Interpreter Core
messages: 329959
nosy: AJNeufeld
priority: normal
severity: normal
status: open
title: Py_FinalizeEx unconditionally exists in Py_LIMITED_API
type: crash
versions: Python 3.6, Python 3.7, Python 3.8
___
Python tracker
<https://bugs.python.org/issue35259>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com