[Python-Dev] closure semantics
Greg Ewing
greg at cosc.canterbury.ac.nz
Fri Oct 24 01:04:47 EDT 2003
More information about the Python-Dev mailing list
Fri Oct 24 01:04:47 EDT 2003
- Previous message: [Python-Dev] closure semantics
- Next message: [Python-Dev] closure semantics
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> It would break any unadorned 'global x' in a nested scope if the name > did not exist anywhere. > > One option would be to have an "if the name doesn't exist, it it > created in module scope". What would be wrong with that? It's what I had in mind. Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg at cosc.canterbury.ac.nz +--------------------------------------+
- Previous message: [Python-Dev] closure semantics
- Next message: [Python-Dev] closure semantics
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list