ipython / ipython/ipykernel

Error when using inspect.stack()

Đang mở
#1,085 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
734
Fork
412
Merge trung bình
1 ngày 5 giờ
Pull request đã merge (30 ngày)
8

Mô tả

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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.