Commit 03dc386
committed
Use PyDLL(None) to get the handle for the main program
It seems passing None is the way to pass NULL to dlopen.
In master:
https://github.com/python/cpython/blob/4ae8ece5cd4c5853b625381db13429f25512108d/Modules/_ctypes/callproc.c#L1322-L1336
In 2.7 branch:
https://github.com/python/cpython/blob/69e96910153219b0b15a18323b917bd74336d229/Modules/_ctypes/callproc.c#L1431-L14341 parent 911056f commit 03dc386
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
569 | 569 | | |
570 | 570 | | |
571 | 571 | | |
572 | | - | |
| 572 | + | |
573 | 573 | | |
574 | 574 | | |
575 | 575 | | |
| |||
0 commit comments