Closed sm-Fifteen closed 4 years ago
Yes. I also happen to see this a few days ago.
So much focusing on backward compatibility makes me lose sight :)
It will be fixed in https://github.com/sumerc/yappi/pull/55 with more tests on this usage pattern along with some other minor issues as well and I will be releasing a new hotfix version in few days hopefully.
Fixed in #55
Released a new hotfix version with this fix.
Excellent, thank you @sumerc!
The latest release of yappi has begun to phase out
get_func_stats(filter={})
in favor oftag
,ctx_id
andfilter_callback
. However, I ended up noticing while usingtag
to profile coroutines, it seems thattag
andctx_id
are currently being ignored.https://github.com/sumerc/yappi/blob/b0e424fb269ffa9fe91690343a09f65016f42ab1/yappi/yappi.py#L1094-L1104
(Notice how both variables aren't passed or stored anywhere)
It can currently be worked around by writing this:
rather than this