Skip to content

ipython support: consider that ipython will create multiple frames (one for each line) for what should be logically a single frame #869

Closed
@fabioz

Description

@fabioz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions