[Python-Dev] yield without future statement?

Greg Ewing greg@cosc.canterbury.ac.nz
Tue, 14 Aug 2001 11:26:55 +1200 (NZST)


> 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 

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

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	   +--------------------------------------+