ipython / ipython/ipykernel

Error when using inspect.stack()

Open
#1,085 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
734
Forks
412
Avg merge
1d 5h
Merged PRs (30d)
8

Description

After ipykernel 6.21.0 update, the output of "inspect.stack()[1][0].f_globals" has "__file__" content that did not exist before(=ipykernel 6.20.2), causing errors when used in other methods. What is the reason and when will it be fixed?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.