Browse Source

bpo-32302: Fix distutils bdist_wininst for CRT v142 (#4851)

CRT v142 is binary compatible with CRT v140.
pull/4855/head
Victor Stinner 9 years ago
committed by GitHub
parent
commit
9e7c136ad8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      Lib/distutils/command/bdist_wininst.py
  2. 2
      Misc/NEWS.d/next/Library/2017-12-13-22-38-08.bpo-32302.othtTr.rst

4
Lib/distutils/command/bdist_wininst.py

@ -338,8 +338,8 @@ class bdist_wininst(Command):
bv = '14.0'
else:
bv = '.'.join(CRT_ASSEMBLY_VERSION.split('.', 2)[:2])
if bv == '14.11':
# v141 and v140 are binary compatible,
if bv in ('14.11', '14.12'):
# v142, v141 and v140 are binary compatible,
# so keep using the 14.0 stub.
bv = '14.0'

2
Misc/NEWS.d/next/Library/2017-12-13-22-38-08.bpo-32302.othtTr.rst

@ -0,0 +1,2 @@
Fix bdist_wininst of distutils for CRT v142: it binary compatible with CRT
v140.
Loading…
Cancel
Save