sumerc / yappi

Yet Another Python Profiler, but this time multithreading, asyncio and gevent aware.
MIT License
1.44k stars 72 forks source link

Python `3.11` fixes #107

Closed sumerc closed 2 years ago

sumerc commented 2 years ago

Fixes https://github.com/sumerc/yappi/issues/104, https://github.com/sumerc/yappi/issues/103.

And add 3.11to CI.

sumerc commented 2 years ago

Unfortunately, it seems supporting 3.11 will not be that easy...

I have just looked into this today and there are lots and LOTS of changes in the core VM(probably related to Faster Python incentive) that I cannot easily support 3.11. I have listed all of the issues I faced and asked in here -> https://discuss.python.org/t/python-3-11-frame-structure-and-various-changes/17895

sumerc commented 2 years ago

I added 3.11 to CI as well. The only thing left is gevent. Currently gevent tests are excluded for 3.11 as it is not compiling on 3.11 yet. All other problems are fixed, thanks to the discussion here -> https://discuss.python.org/t/python-3-11-frame-structure-and-various-changes/17895