A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2001-August/017006.html below:

[Python-Dev] yield without future statement?

[Python-Dev] yield without future statement? [Python-Dev] yield without future statement?Greg Ewing greg@cosc.canterbury.ac.nz
Tue, 14 Aug 2001 11:26:55 +1200 (NZST)
Guido:

> The general opinion
> seems to be that the future statement is redundant, since previous
> uses of yield will generally result in a syntax error

I thought the future statement was also to give users a
release or two of warning before a semantics-changing
feature becomes mandatory. Maybe I was wrong about the 
intention?

I don't have particularly strong feelings either way in
this case, but people more sensitive to code breakage
might.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+



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