[issue17927] Argument copied into cell still referenced by frame

Nick Coghlan report at bugs.python.org
Thu May 9 05:19:03 CEST 2013


Nick Coghlan added the comment:

Guido, did you try combining your first patch (clearing the local var when populating the cell) with your second patch (by only checking for a cell when the local var is cleared rather than when it is populated)?

It seems slightly more logical to me to have a cell fallback for the "local ref is NULL" case than it does to special case "local ref is not NULL".

----------

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


More information about the Python-bugs-list mailing list