This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author theller
Recipients theller
Date 2008-01-11.14:59:37
SpamBayes Score 0.010178972
Marked as misclassified No
Message-id <1200063578.88.0.774833430715.issue1793@psf.upfronthosting.co.za>
In-reply-to
Content
I'm uploading this patch for discussion, in case someone cares.

This code (for Windows) adds a function ctypes.util.find_msvcrt().  This
function returns the filename of the MSVC runtime library that the
current Python executable uses.  If calling functions from the C runtime
library, it is very important to use the SAME dll that Python uses.

Further, this patch changes ctypes.util.find_library(name) so that the
MSVC runtime library name is returned when searching for "c" or "m".
History
Date User Action Args
2008-01-11 14:59:39thellersetspambayes_score: 0.010179 -> 0.010178972
recipients: + theller
2008-01-11 14:59:38thellersetspambayes_score: 0.010179 -> 0.010179
messageid: <1200063578.88.0.774833430715.issue1793@psf.upfronthosting.co.za>
2008-01-11 14:59:37thellerlinkissue1793 messages
2008-01-11 14:59:37thellercreate