[Python-3000] Draft PEP for outer scopes

Neil Toronto ntoronto at cs.byu.edu
Fri Nov 3 21:36:33 CET 2006


Ka-Ping Yee wrote:
> Hi folks,
>
> I have finally completed a draft of a PEP on rebinding of names
> in outer scopes.  I've tried to go back and gather all of the
> (amazingly numerous) proposals -- if i've forgotten or misattributed
> any, let me know and i'll be happy to correct them.
>
> I look forward to your thoughts on it:

Is there any particular reason this *must* be a Py3k PEP? (Aside from 
the fact that we're discussing it on the Py3k list, of course.) Some of 
the solutions discussed for historical context would *definitely* be bad 
ideas for a 2.x (as would changing the semantics of 'global'), but I 
can't see why the solution proposed in the PEP couldn't be done sooner.

Neil



More information about the Python-3000 mailing list