benfred / py-spy

Sampling profiler for Python programs
MIT License
12.13k stars 401 forks source link

Python 3.12 support #642

Open benfred opened 7 months ago

karolinepauls commented 1 month ago

I built this branch for our internal use and can confirm it works for us. A normal release build, I haven't tried static linking. I don't mind the line numbers. Thank you.

walnutwaldo commented 2 weeks ago

Built this for our internal use as well and it works

psi29a commented 1 week ago

Following :D

paalka commented 3 days ago

In case it is useful to someone looking for a profiler with 3.12 support, austin is an alternative to py-spy with similar features and low overhead :)

Austin also uses a similar approach to py-spy in order to get the state of the GIL, which I think might be one of the pieces that is missing in order to fully support python 3.12 in py-spy.