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 amaury.forgeotdarc, christian.heimes, theller
Date 2008-01-16.20:50:57
SpamBayes Score 0.002734651
Marked as misclassified No
Message-id <478E6E2A.4080705@ctypes.org>
In-reply-to <1200400928.25.0.569411323032.issue1793@psf.upfronthosting.co.za>
Content
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?
History
Date User Action Args
2008-01-16 20:51:00thellersetspambayes_score: 0.00273465 -> 0.002734651
recipients: + theller, amaury.forgeotdarc, christian.heimes
2008-01-16 20:50:57thellerlinkissue1793 messages
2008-01-16 20:50:57thellercreate