我最近阅读了 objgraph文档,对以下代码感到困惑
>>> class MyBigFatObject(object):
... pass
...
>>> def computate_something(_cache={}):
... _cache[42] = dict(foo=MyBigFatObject(),
... bar=MyBigFatObject())
... # a very explicit and easy-to-find "leak" but oh well
... x = MyBigFatObject() # this one doesn't leak
它表明“一个非常明确且易于发现的'泄漏'”。这有内存泄漏吗?是dict _cache吗?