python debug open_files

主要是遇到 Error 24, too many open files.html 下面这种方法能够debug打开了哪些文件。post import __builtin__ openfiles = set() oldfile = __builtin__.file class newfile(oldfile): def __init__(self, *args, **kwargs):
相关文章
相关标签/搜索