Closed
Description
In this case the request would be hiding/ignoring anything that's not called inside some function (namely async def run_code(self, code_obj, result=None, *, async_=False):
: https://github.com/ipython/ipython/blob/de8729a984272b023768a8b85295ae06146da71d/IPython/core/interactiveshell.py#L3325).
We could rely on the __tracebackhide__ == "__ipython_bottom__"
local variable in that function.
See: ipython/ipykernel#878 for details.