New submission from Pierre Chatelier <pie...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue32371> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com