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
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
[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
>-
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
-