Author ncoghlan
Recipients eli.bendersky, ethan.furman, gvanrossum, ncoghlan, rhettinger
Date 2013-05-12.14:06:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368367588.8.0.525537010988.issue17963@psf.upfronthosting.co.za>
In-reply-to
Content
Right, but I think it's categorically impossible to make that work reliably without new syntax and a name binding protocol (or something equivalent).

Due to the existence of the global keyword, the frame stack and normal assignment syntax simply don't provide adequate information for us to tell the difference between "incidental" assignments in a helper function and "definite assignments" that represent the ultimate destination.

And if the solution involves new syntax, then the frame hack will have to be deprecated at some point anyway.
History
Date User Action Args
2013-05-12 14:06:28ncoghlansetrecipients: + ncoghlan, gvanrossum, rhettinger, eli.bendersky, ethan.furman
2013-05-12 14:06:28ncoghlansetmessageid: <1368367588.8.0.525537010988.issue17963@psf.upfronthosting.co.za>
2013-05-12 14:06:28ncoghlanlinkissue17963 messages
2013-05-12 14:06:28ncoghlancreate