[Python-Dev] Possible resolution of generatorexpressionvariablecapture dilemma (original) (raw)
Greg Ewing greg at cosc.canterbury.ac.nz
Thu Mar 25 18:42:52 EST 2004
- Previous message: [Python-Dev] Possible resolution of generatorexpressionvariablecapture dilemma
- Next message: [Python-Dev] Possible resolution of generatorexpressionvariablecapture dilemma
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
jiwon <jiwon at softwise.co.kr>:
Furthermore, I think closures should capture variables, too, but it seems that's too much change for now :)
That's not an option, because it would break mutually recursive functions.
With regard to generator expressions, isn't Guido leaning back towards not having any variable capture? Or is he un-leaning-back again? This is all getting very confusing...
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] Possible resolution of generatorexpressionvariablecapture dilemma
- Next message: [Python-Dev] Possible resolution of generatorexpressionvariablecapture dilemma
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]