[issue21518] Expose RegUnloadKey in winreg

eryksun report at bugs.python.org
Mon May 19 00:30:37 CEST 2014


eryksun added the comment:

ctypes LibraryLoader instances cache CDLL/WinDLL instances, which cache function pointers. Using the global ctypes.cdll and ctypes.windll loaders can lead to conflicting definitions for restype, argtypes, and errcheck. I suggest using a private LibraryLoader in windows_helper, e.g.:

    windll = ctypes.LibraryLoader(ctypes.WinDLL)

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

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21518>
_______________________________________


More information about the Python-bugs-list mailing list