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 <rep...@bugs.python.org>
<http://bugs.python.org/issue17927>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to