Preliminary support for "from __future__ import generators" to enable

the yield statement.  I figure we have to have this in before I can
release 2.2a1 on Wednesday.

Note: test_generators is currently broken, I'm counting on Tim to fix
this.
This commit is contained in:
Guido van Rossum 2001-07-15 21:08:29 +00:00
parent 045ca7ae72
commit b09f7ed623
8 changed files with 47 additions and 3 deletions

View file

@ -24,6 +24,8 @@ Here are some of the useful functions provided by this module:
# This module is in the public domain. No warranties.
from __future__ import generators
__author__ = 'Ka-Ping Yee <ping@lfw.org>'
__date__ = '1 Jan 2001'