> While I'm very glad that I suggested PyLong_FromVoidPtr() for issues like > this, I think that returning an HKEY should probably use a PyCObject. You > will then be able to supply a "free" function that can close the HKEY. This is exactly what we do. Trents patches are just for the functions that return the underlying handle value as an integer (which is definately a useful thing to be able to do!) Mark.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4