Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dotnet/cpython
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c611e30d06
Choose a base ref
...
head repository: dotnet/cpython
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b97a67d359
Choose a head ref
  • 1 commit
  • 1 file changed
  • 2 contributors

Commits on Jul 27, 2026

  1. Enable Control Flow Guard for Windows binaries (#232)

    Pass /p:EnableControlFlowGuard=Guard to the PCbuild MSBuild invocation so
    python.exe, python3xx.dll and the extension modules are built with /guard:cf.
    
    CPython's PCbuild/pyproject.props already exposes the EnableControlFlowGuard
    property, and MSVC derives the matching linker /guard:cf from the ClCompile
    setting, so both the compiler and linker flags are applied.
    
    Port of #231 to release/10.0.
    
    Co-authored-by: Copilot <[email protected]>
    Copilot-Session: af43f907-f9b9-4b6a-8617-c0036ac8320c
    akoeplinger and Copilot authored Jul 27, 2026
    Configuration menu
    Copy the full SHA
    b97a67d View commit details
    Browse the repository at this point in the history
Loading