giampaolo / psutil

Cross-platform lib for process and system monitoring in Python
BSD 3-Clause "New" or "Revised" License
10.22k stars 1.38k forks source link

Don't build with limited API for 3.13 free-threaded build #2402

Closed colesbury closed 4 months ago

colesbury commented 5 months ago

Summary

Description

The --disable-gil configuration of CPython 3.13 does not currently support the limited API. If the Py_GIL_DISABLED sysconfig variable is set, don't build with the limited API.

mayeut commented 4 months ago

@giampaolo, can you review this one please ?

giampaolo commented 4 months ago

Thank you @colesbury. This is a great addition.