I read objgraph document recently, and I confused about the following code
>>> 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
It show that "a very explict and easy-to-find 'leak'". Do this has memory leak? Is it the dict _cache?