Author erik flister
Recipients erik flister, paul.moore, steve.dower, tim.golden, zach.ware
Date 2015-06-11.10:59:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1434020370.09.0.0614095337988.issue24429@psf.upfronthosting.co.za>
In-reply-to
Content
normally, CDLL(find_library('c')) is fine.  but when running embedded in a context that uses a different runtime version, this will cause an error (example: http://stackoverflow.com/questions/30771380/how-use-ctypes-with-msvc-dll-from-within-matlab-on-windows/).

using ctypes.cdll.msvcrt apparently finds the correct runtime.  i was surprised by this, i thought this was supposed to be identical to find_library('c').

in any case, some libraries (uuid.py) use the one that breaks.  can you either switch everything to ctypes.cdll.msvcrt, or have find_library('c') change to be identical to it?
History
Date User Action Args
2015-06-11 10:59:30erik flistersetrecipients: + erik flister, paul.moore, tim.golden, zach.ware, steve.dower
2015-06-11 10:59:30erik flistersetmessageid: <1434020370.09.0.0614095337988.issue24429@psf.upfronthosting.co.za>
2015-06-11 10:59:29erik flisterlinkissue24429 messages
2015-06-11 10:59:29erik flistercreate