A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-March/087749.html below:

[Python-Dev] Revised**8 PEP on Yield-From

[Python-Dev] Revised**8 PEP on Yield-From [Python-Dev] Revised**8 PEP on Yield-FromGreg Ewing greg.ewing at canterbury.ac.nz
Fri Mar 27 06:00:57 CET 2009
Nick Coghlan wrote:
> Since correctly written generators are permitted to
> convert GeneratorExit to StopIteration, the 'yield from' expression
> should detect when that has happened and reraise the original exception.

I'll have to think about that a bit, but you're
probably right.

> it is also necessary to block close() in order to share an
> iterator.

That's a typo -- I meant to say 'throw' and 'close'
there, I think.

-- 
Greg
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4