gh-112984: Fix link error on free-threaded Windows build by colesbury · Pull Request #114455 · python/cpython · GitHub

github.com

Tin mới

colesbury:gh-112984-peggen

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

Build changes for Windows free-threaded builds #112984

: Fix link error on free-threaded Windows build

https://github.com/pypa/distutils/blob/fb5c5704962cd3f40c69955437da9a88f4b28567/distutils/command/build_ext.py#L745-L758

The compiler attribute is normally set by run(), but we're decomposing the distutils command in test_peg_generator so it was not set. Because it's still set to None, distutils thinks we are not using MSVC and sticks in a

View reviewed changes

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

awaiting core review

: Fix link error on free-threaded Windows build (

: Fix link error on free-threaded Windows build (