pydevd_additional_thread_info_regular.py 文件源码

python
阅读 25 收藏 0 点赞 0 评论 0

项目:specto 作者: mrknow 项目源码 文件源码
def iter_frames(self, t):
        #sys._current_frames(): dictionary with thread id -> topmost frame
        current_frames = sys._current_frames()
        v = current_frames.get(t.ident)
        if v is not None:
            return [v]
        return []

    # IFDEF CYTHON
    # def create_db_frame(self, *args, **kwargs):
    #     raise AssertionError('This method should not be called on cython (PyDbFrame should be used directly).')
    # ELSE
    # just create the db frame directly
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号