while expression feature proposal

Thomas Rachel nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915 at spamschutz.glglgl.de
Thu Oct 25 07:20:01 EDT 2012


Am 25.10.2012 12:50 schrieb Steven D'Aprano:

> Then I think you have misunderstood the purpose of "yield from".

Seems so. As I have not yet switched to 3.x, I haven't used it till now.

> [quote]
> However, if the subgenerator is to interact properly with the caller in
> the case of calls to send(), throw() and close(), things become
> considerably more difficult. As will be seen later, the necessary code is
> very complicated, and it is tricky to handle all the corner cases
> correctly.

Ok, thanks.


Thomas



More information about the Python-list mailing list