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/2012-March/117455.html below:

[Python-Dev] problem with recursive "yield from" delegation

[Python-Dev] problem with recursive "yield from" delegation [Python-Dev] problem with recursive "yield from" delegationBenjamin Peterson benjamin at python.org
Thu Mar 8 21:45:20 CET 2012
2012/3/8 Antoine Pitrou <solipsis at pitrou.net>:
> On Thu, 8 Mar 2012 14:36:06 -0600
> Benjamin Peterson <benjamin at python.org> wrote:
>> 2012/3/8 Stefan Behnel <stefan_ml at behnel.de>:
>> > Would that be acceptable for CPython as well or would you prefer full
>> > fledged normalisation?
>>
>> I think we have to normalize for correctness. Consider that it may be
>> some StopIteration subclass which set "value" on construction.
>
> Perhaps it would be time to drop the whole delayed normalization thing,
> provided the benchmarks don't exhibit a slowdown? It complicates a lot
> of code paths.

+1 Also, it delays errors from exception initialization to arbitrary points.

-- 
Regards,
Benjamin
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