[Python-3000] Draft PEP for outer scopes

Nick Coghlan ncoghlan at gmail.com
Sat Nov 4 04:40:48 CET 2006

Neil Toronto wrote:
> 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.

I think you answered your own question - some of the options up for 
consideration in the PEP are *not* compatible with 2.x, so targeting Py3k 
makes for a freer discussion of the possibilities.

If the result turns out to be backwards compatible, then we can retarget 
Python 2.6, but that's actually the case for *all* of the Py3k PEPs (even the 
backwards incompatible PEPs will likely have elements which can be 
incorporated into the 2.x series to ease the eventual transition).


Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia

More information about the Python-3000 mailing list