Closed isidentical closed 3 years ago
Thanks for the heads up! Working on it.
I have a probable fix for this. @isidentical , I was using f_stacktop
being non-NULL to detect a coroutine yield
now I use frame->state == FRAME_SUSPENDED
. All tests pass on my side. Can you spot any issue with that?
See the possible fix: https://github.com/sumerc/yappi/pull/66
Yeah, looks right!
Due to the changes in python/cpython#20803 (made the code a lot simpler), yappi isn't compiling on 3.10;