from __future__ import generators
Guido van Rossum
guido at python.org
Thu Aug 9 20:51:01 EDT 2001
"gzeljko" <gzeljko at sezampro.yu> writes:
> I just installed 2.2a1 and immediately come to
> 'natural question':
>
> Is 'from __future__ import generators' really
> necessary ?
If enough people prefer to always have the 'yield' keyword enabled, we
can do that. I thought that there would be a huge opposition against
breaking code this way, but maybe it's OK. At least 'yield' is not a
silent break.
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-list
mailing list