PEP 799 – A dedicated profilers package for organizing Python profiling tool

Sorry if I missed it, but didn’t find in the PEP or this discussion – will Tachyon be backwards compatible to older Python versions in some way? E.g. if I have a python 3.12 environment, would I be able to attach tachyon from a 3.15 virtualenv against it?

I suspect the answer is no since profiler would be tightly coupled to python internals, but maybe worth clarifying explicitly!

I will not, as it uses the technology we added in PEP 768 (and Remote debugging attachment protocol — Python 3.14.2 documentation) it follows the same guarantees: it only works for the same version and the same kind of build (normal<->normal and free-threaded<->free-threaded).

1 Like