[New-bugs-announce] [issue32371] Delay-loading of python dll is impossible when using some C macros
Pierre Chatelier
report at bugs.python.org
Tue Dec 19 08:13:18 EST 2017
New submission from Pierre Chatelier <pierre at chachatelier.fr>:
Delay-loading of the python DLL is impossible when using some C macros.
For instance, PyLong_Check() is OK, but PyBool_Check() or PyFunc_Check()
will eventually raise a link error.
This is due to the fact that PyBool_Check() directly use the PyBool_Type symbol instead of getting a reference through a function.
For the same reason, Py_False and Py_True are problematic.
----------
components: Windows
messages: 308639
nosy: Pierre Chatelier, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Delay-loading of python dll is impossible when using some C macros
type: compile error
versions: Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32371>
_______________________________________
More information about the New-bugs-announce
mailing list