This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author holdenweb
Recipients holdenweb, r.david.murray
Date 2014-07-02.12:43:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1404305017.63.0.39253308228.issue21904@psf.upfronthosting.co.za>
In-reply-to
Content
Indeed the issue is that the pointer is to the local variable rather than its value at time of closure defnition. Not being familiar with the way cells are used, I am unsure as to how the closure keeps the whole namespace alive (that would seem to require a frame rather than just a simple cell).
History
Date User Action Args
2014-07-02 12:43:37holdenwebsetrecipients: + holdenweb, r.david.murray
2014-07-02 12:43:37holdenwebsetmessageid: <1404305017.63.0.39253308228.issue21904@psf.upfronthosting.co.za>
2014-07-02 12:43:37holdenweblinkissue21904 messages
2014-07-02 12:43:37holdenwebcreate