[issue21904] Multiple closures accessing the same non-local variable always see the same value

R. David Murray report at bugs.python.org
Wed Jul 2 15:13:04 CEST 2014


R. David Murray added the comment:

I forgot that cells were independent objects.  You are probably right about it just keeping the cell alive, but I never did finish looking through how that code worked when I did look at it.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21904>
_______________________________________


More information about the Python-bugs-list mailing list