]> granicus.if.org Git - python/commit
SF patch #872326: Generator expression implementation
authorRaymond Hettinger <python@rcn.com>
Wed, 19 May 2004 08:20:33 +0000 (08:20 +0000)
committerRaymond Hettinger <python@rcn.com>
Wed, 19 May 2004 08:20:33 +0000 (08:20 +0000)
commit354433a59dd1701985ec8463ced25a967cade3c1
tree9e342cc53199814f81b25daabcdb85da1851bd50
parent285cfccecba911531b37b8a7dde45bf07d3cf9b0
SF patch #872326:  Generator expression implementation
(Code contributed by Jiwon Seo.)

The documentation portion of the patch is being re-worked and will be
checked-in soon.  Likewise, PEP 289 will be updated to reflect Guido's
rationale for the design decisions on binding behavior (as described in
in his patch comments and in discussions on python-dev).

The test file, test_genexps.py, is written in doctest format and is
meant to exercise all aspects of the the patch.  Further additions are
welcome from everyone.  Please stress test this new feature as much as
possible before the alpha release.
20 files changed:
Doc/whatsnew/whatsnew24.tex
Grammar/Grammar
Include/graminit.h
Include/symtable.h
Lib/compiler/ast.py
Lib/compiler/pycodegen.py
Lib/compiler/symbols.py
Lib/compiler/transformer.py
Lib/symbol.py
Lib/test/test_deque.py
Lib/test/test_genexps.py [new file with mode: 0644]
Lib/test/test_grammar.py
Lib/test/test_parser.py
Misc/ACKS
Misc/NEWS
Modules/parsermodule.c
Python/compile.c
Python/graminit.c
Python/symtable.c
Tools/compiler/ast.txt