[issue1793] ctypes.util.find_msvcrt() function
Thomas Heller
report at bugs.python.org
Wed Jan 16 21:50:59 CET 2008
Thomas Heller added the comment:
Amaury Forgeot d'Arc schrieb:
> This code works on all pythons I have on my machine: official builds,
> custom builds (relase/debug) with several MS compilers...
> I did not test it with other compiled vendors (mingw32...).
What I do not like about your code is that it imports distutils.
On the other hand, the code in distutils.msvccompiler.get_build_version
is so small and simple that it could easily be duplicated in ctypes.util;
it could even be simplified more because ctypes doesn't work in Python < 2.3.
What do you think?
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1793>
__________________________________
More information about the Python-bugs-list
mailing list