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/2001-August/016729.html below:

[Python-Dev] '*' instead of 'yield'?

[Python-Dev] '*' instead of 'yield'? [Python-Dev] '*' instead of 'yield'?Tim Peters tim.one@home.com
Sun, 5 Aug 2001 19:12:40 -0400
[Roman Suzi]
> Maybe it will be nicier to have unary * instead of 'yield'
> for generators?

[Greg Stein]
> This is Python, not Perl. Why use an obscure character instead of
> a keyword?
> It doesn't make sense to me...

I doubt it would be warmly received in Perl-land, either.

Roman, this will never fly unless you can talk Guido into also allowing "**"
as a synonym for "return".  I wish you luck <wink>.




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