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 <[EMAIL PROTECTED]> <http://bugs.python.org/issue1793> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com