Closed
Description
Bug report
Bug description:
Mimalloc is introduced in #109914.
This will cause a header not found when building any extension that includes a pycore_*.h
header as:
[build] In file included from /Users/yyc/repo/py/install/include/python3.13d/internal/pycore_long.h:13:
[build] In file included from /Users/yyc/repo/py/install/include/python3.13d/internal/pycore_runtime.h:17:
[build] In file included from /Users/yyc/repo/py/install/include/python3.13d/internal/pycore_interp.h:30:
[build] /Users/yyc/repo/py/install/include/python3.13d/internal/pycore_mimalloc.h:39:10: fatal error: 'mimalloc.h' file not found
[build] #include "mimalloc.h"
[build] ^~~~~~~~~~~~
[build] 1 error generated.
See following PR for detail.
CPython versions tested on:
3.13, CPython main branch
Operating systems tested on:
Linux, macOS