This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eryksun
Recipients benjamin.peterson, cgohlke, eryksun, paul.moore, pyscripter, steve.dower, tim.golden, vstinner, zach.ware
Date 2019-06-17.21:51:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1560808290.38.0.501633872532.issue37189@roundup.psfhosted.org>
In-reply-to
Content
> api = ctypes.pythonapi
> api2 = ctypes.PyDLL("", handle=sys.dllhandle)

Those should be the same. In Windows, pythonapi is defined as PyDLL("python dll", None, sys.dllhandle). 

Wouldn't it be better to add a function to _testcapi that checks GetProcAddress(PyWin_DLLhModule, name)?
History
Date User Action Args
2019-06-17 21:51:30eryksunsetrecipients: + eryksun, paul.moore, vstinner, tim.golden, pyscripter, benjamin.peterson, cgohlke, zach.ware, steve.dower
2019-06-17 21:51:30eryksunsetmessageid: <1560808290.38.0.501633872532.issue37189@roundup.psfhosted.org>
2019-06-17 21:51:30eryksunlinkissue37189 messages
2019-06-17 21:51:30eryksuncreate