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