mirror of
https://github.com/python/cpython.git
synced 2025-09-02 15:07:53 +00:00
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:
parent
045ca7ae72
commit
b09f7ed623
8 changed files with 47 additions and 3 deletions
|
@ -67,3 +67,4 @@ class _Feature:
|
|||
`self.getMandatoryRelease()` + ")"
|
||||
|
||||
nested_scopes = _Feature((2, 1, 0, "beta", 1), (2, 2, 0, "alpha", 0))
|
||||
generators = _Feature((2, 2, 0, "alpha", 1), (2, 3, 0, "final", 0))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue