In a python function, it creates a dictionary contains 2 objects a and b; object a is referenced by a global variable. object b is not referenced after function exits.
Will the dictionary (and object b) be released by python after function exits? Will it has memory leak?
Thanks!