python / python/cpython

mimalloc platform abstraction doesn't compile on all WinAPI partitions

Open
#133,571 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

interpreter-core OS-windows type-bug
Dominant language
Python
Stars
77.2k
Forks
35.9k
PR merge metrics
PR metrics pending

Description

Bug report

Bug description:

the platform abstraction of mimalloc makes use of console io, legacy numa node handling and large page handling that aren't available in all WinAPI partitions.

The plan here is to fix this in the mimalloc upstream and then downstream the required changes.

CPython versions tested on:

3.13

Operating systems tested on:

Windows

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named. Start by locating the mimalloc platform abstraction used by CPython on Windows and reproduce compilation across the affected WinAPI partitions. Coordinate the required fix upstream, then downstream the resulting changes and verify the Windows build.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.