[Python-Dev] Explicit Lexical Scoping (pre-PEP?) (original) (raw)
Georg Brandl g.brandl at gmx.net
Wed Jul 5 10:29:27 CEST 2006
- Previous message: [Python-Dev] Explicit Lexical Scoping (pre-PEP?)
- Next message: [Python-Dev] Explicit Lexical Scoping (pre-PEP?)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Guido van Rossum wrote:
On 7/5/06, Phillip J. Eby <pje at telecommunity.com> wrote:
At 12:18 AM 7/5/2006 +0200, Guido van Rossum wrote: >I don't see anything else that's attractive. The realistic options are: > >1. do nothing >2. extend global's meaning >3. add outer keyword
Did you also consider and reject: * Alternate binding operators (e.g. ":=", ".=", etc.) Brr. * Alternate spelling of outer names when binding (e.g. ".x = whatever" to bind an outer x) We looked at and rejected "globals.x = whatever". I think the same reasoning applies here. If so, then these should probably be added to the "rejected alternatives" for Py3K so they don't get rehashed. Georgbot?
I added the alternative binding operators. The discussion about ".x" seems to be still in progress.
Georg
- Previous message: [Python-Dev] Explicit Lexical Scoping (pre-PEP?)
- Next message: [Python-Dev] Explicit Lexical Scoping (pre-PEP?)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]