You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using pyinstrument to track an async code with aiohttp. My purpose is that to analyze why my custom __aexit__() is not called, but there are no record about my custom code whether __aenter__() or __aexit__().
Here is my code named test_aio.py, this is the correct version where I manually call __aenter__ and __aexit__.
And I run pyinstrument with pyinstrument --show-all test_aio.py. But no called information about AioHttpSession.__aenter__() or `aexit().
The text was updated successfully, but these errors were encountered:
Whisht
changed the title
pytinstrument not track the call stack of __aenter__ and __aexit__pytinstrument does not track the call stack of __aenter__ and __aexit__Nov 22, 2023
I am using
pyinstrument
to track an async code withaiohttp
. My purpose is that to analyze why my custom__aexit__()
is not called, but there are no record about my custom code whether__aenter__()
or__aexit__()
.Here is my code named
test_aio.py
, this is the correct version where I manually call__aenter__
and__aexit__
.And I run
pyinstrument
withpyinstrument --show-all test_aio.py
. But no called information aboutAioHttpSession.__aenter__()
or `aexit().The text was updated successfully, but these errors were encountered: