vmprof / vmprof-python

vmprof - a statistical program profiler
https://vmprof.readthedocs.io
Other
432 stars 55 forks source link

Support Python 3.11 #251

Closed matthiasdiener closed 11 months ago

fijal commented 1 year ago

Hey, it should probably pass the build step

matthiasdiener commented 1 year ago

Hey, it should probably pass the build step

This PR currently only supports Python 3.11 since the internal API has changed with 3.11 (this is why this PR is still in draft). I'm not sure what the best way to support older Python versions is.

mattip commented 1 year ago

Typically projects like cython use

#if PY_VERSION_HEX >= 0x030b0000
<do something>
#else
<do something else>
#endif