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 jhylton
Recipients
Date 2007-02-25.20:35:18
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
I'm not sure I understand all the implications of nested variables, either.  The current behavior of locals() is to return the names of all free variables that are being passed through the class body so that they can be used by methods.  Is the behavior correct?  I see that IronPython implements locals() that way, but does not bind them as class variables (good).  Should we change the "spec" of locals() and cause IronPython to be incompatible, or should we fix CPython and PyPy to behave the same way?  The fix for CPython will be somewhat involved.
History
Date User Action Args
2007-08-23 14:16:56adminlinkissue810714 messages
2007-08-23 14:16:56admincreate