bpo-32302: Fix distutils bdist_wininst for CRT v142 (#4851) · python/cpython@9e7c136 (original) (raw)
| 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 |