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 steve.dower
Recipients Matt.Hickford, dstufft, eric.araujo, paul.moore, steve.dower, tim.golden, zach.ware
Date 2015-09-29.04:27:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1443500855.88.0.858513242762.issue25250@psf.upfronthosting.co.za>
In-reply-to
Content
if sys.version_info[:2] >= (3, 3):
    # MSVC version is >= 9.0

Alternatively:

if sys.version_info[:2] >= (3, 5):
    # MSVC version is >= 14.0, or
    # _msvccompiler.MSVCCompiler does not have __version

or

if self.compiler.compiler_type == "msvc" and int(getattr(self.compiler, '_MSVCCompiler__version'), 10) <= 9:
    # MSVC version is >= 9.0
History
Date User Action Args
2015-09-29 04:27:35steve.dowersetrecipients: + steve.dower, paul.moore, tim.golden, eric.araujo, Matt.Hickford, zach.ware, dstufft
2015-09-29 04:27:35steve.dowersetmessageid: <1443500855.88.0.858513242762.issue25250@psf.upfronthosting.co.za>
2015-09-29 04:27:35steve.dowerlinkissue25250 messages
2015-09-29 04:27:35steve.dowercreate