Re: [Python-Dev] Integrating PEP 310 with PEP 340

2005-04-28 Thread Greg Ewing
Nick Coghlan wrote: With an appropriate utility block manager I've just thought of another potential name for them: Block Utilization and Management Function (BUMF) :-) -- Greg Ewing, Computer Science Dept, +--+ University of Canterbury, | A citizen of N

Re: [Python-Dev] Integrating PEP 310 with PEP 340

2005-04-28 Thread Nick Coghlan
Guido van Rossum wrote: PEP 310 forms the basis for a block construct that I _do_ like. The question then becomes whether or not generators can be used to write useful PEP 310 style block managers (I think they can, in a style very similar to that of the looping block construct from PEP 340). I've

Re: [Python-Dev] Integrating PEP 310 with PEP 340

2005-04-27 Thread Guido van Rossum
[Nick Coghlan] > This is my attempt at a coherent combination of what I like about both > proposals > (as opposed to my assortment of half-baked attempts scattered through the > existing discussion). > > PEP 340 has many ideas I like: >- enhanced yield statements and yield expressions >-

[Python-Dev] Integrating PEP 310 with PEP 340

2005-04-27 Thread Nick Coghlan
This is my attempt at a coherent combination of what I like about both proposals (as opposed to my assortment of half-baked attempts scattered through the existing discussion). PEP 340 has many ideas I like: - enhanced yield statements and yield expressions - enhanced continue and break -