bpo-32302: Fix distutils bdist_wininst for CRT v142 (GH-4851) (#4861) · python/cpython@645fa19 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 645fa19

miss-islingtonvstinner

authored and

committed

CRT v142 is binary compatible with CRT v140. (cherry picked from commit 9e7c136)

File tree

2 files changed

lines changed

2 files changed

lines changed

Original file line number Diff line number Diff line change
@@ -338,8 +338,8 @@ def get_exe_bytes(self):
338 338 bv = '14.0'
339 339 else:
340 340 bv = '.'.join(CRT_ASSEMBLY_VERSION.split('.', 2)[:2])
341 -if bv == '14.11':
342 -# v141 and v140 are binary compatible,
341 +if bv in ('14.11', '14.12'):
342 +# v142, v141 and v140 are binary compatible,
343 343 # so keep using the 14.0 stub.
344 344 bv = '14.0'
345 345
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
1 +Fix bdist_wininst of distutils for CRT v142: it binary compatible with CRT
2 +v140.