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/016967.html below:

[Python-Dev] yield without future statement?

[Python-Dev] yield without future statement? [Python-Dev] yield without future statement?Guido van Rossum guido@python.org
Mon, 13 Aug 2001 09:40:06 -0400
On c.l.py, there's a small discussion going on the necessity of a
future statement to enable the yield keyword.  The general opinion
seems to be that the future statement is redundant, since previous
uses of yield will generally result in a syntax error -- and there
aren't very many uses of yield in the first place.  The other uses of
future (nested scopes and division) were needed because these features
cause *silent* failure -- but with yield, you'd have to work really
really hard to cause a silent failure.

Opinions?  I'd love to get rid of this particular future statement.

--Guido van Rossum (home page: http://www.python.org/~guido/)



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