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 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 <>
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.
Date User Action Args
2013-05-12 14:06:28ncoghlansetrecipients: + ncoghlan, gvanrossum, rhettinger, eli.bendersky, ethan.furman
2013-05-12 14:06:28ncoghlansetmessageid: <>
2013-05-12 14:06:28ncoghlanlinkissue17963 messages
2013-05-12 14:06:28ncoghlancreate