[issue17927] Argument copied into cell still referenced by frame

Guido van Rossum report at bugs.python.org
Fri May 10 02:22:44 CEST 2013


Guido van Rossum added the comment:

cellfree4.diff.  Addressed review:

- Moved test to test_scope.py
- Added @cpython_only
- Fixed comment indent (and removed tabs :-)
- Fixed missing NULL test

I decided to keep the super() call; it's likely that it's tested elsewhere but I don't want to verify that there really is a test that puts self into a cell *and* uses super().

I also decided not to bother rewriting the test using weakrefs.  Let me know if you really want me to do that.

----------
Added file: http://bugs.python.org/file30188/cellfree4.diff

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


More information about the Python-bugs-list mailing list