[issue24123] Python 2.7 Tutorial Conflicting behavior with WeakValueDictionary.
R. David Murray
report at bugs.python.org
Mon May 4 12:52:15 CEST 2015
R. David Murray added the comment:
Well, technically it is probably not a bug. IPython is doubtless holding on to a reference to 'a' because it was defined at the prompt. Perhaps it could use a weakvaluedict for that, though :) On the other hand they might consider it a feature that objects don't go out of scope.
----------
stage: -> resolved
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24123>
_______________________________________
More information about the Python-bugs-list
mailing list