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/2014-November/137213.html below:

Change StopIteration handling inside generators

[Python-Dev] PEP 479: Change StopIteration handling inside generators [Python-Dev] PEP 479: Change StopIteration handling inside generatorsEthan Furman ethan at stoneleaf.us
Wed Nov 26 19:07:40 CET 2014
On 11/26/2014 08:54 AM, Paul Moore wrote:
> On 26 November 2014 at 16:24, Isaac Schwabacher <ischwabacher at wisc.edu> wrote:
>> This actually leads to a good example of why the PEP is necessary:
> [...]
> 
> Oh! If that's the current behaviour, then it probably needs to go into
> the PEP as a motivating example. It's far more convincing than most of
> the other arguments I've seen. Just one proviso - is it fixable in
> contextlib *without* a language change? If so, then it loses a lot of
> its value.

No value is lost.  The PEP exists because this mistake is so easy to make, and can be so hard to track down.

--
~Ethan~

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-dev/attachments/20141126/946d2cc5/attachment.sig>
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