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 <>
> 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)?
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: <>
2019-06-17 21:51:30eryksunlinkissue37189 messages
2019-06-17 21:51:30eryksuncreate