Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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-L1434
- Loading branch information