Author eryksun
Recipients Claudiu.Popa, eryksun, steve.dower, tim.golden, zach.ware
Date 2014-05-18.22:30:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1400452237.27.0.991890811347.issue21518@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2014-05-18 22:30:37eryksunsetrecipients: + eryksun, tim.golden, Claudiu.Popa, zach.ware, steve.dower
2014-05-18 22:30:37eryksunsetmessageid: <1400452237.27.0.991890811347.issue21518@psf.upfronthosting.co.za>
2014-05-18 22:30:37eryksunlinkissue21518 messages
2014-05-18 22:30:36eryksuncreate