Eryk Sun <eryk...@gmail.com> added the comment:

> 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)?

----------
nosy: +eryksun

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37189>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to