This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: PEP 279 Simulator
Type: Stage:
Components: Demos and Tools Versions: Python 2.3
process
Status: closed Resolution: later
Dependencies: Superseder:
Assigned To: Nosy List: rhettinger
Priority: normal Keywords: patch

Created on 2002-02-06 14:04 by rhettinger, last changed 2022-04-10 16:04 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
gensim.py rhettinger, 2002-02-06 14:04 PEP 279 Simulator
gensim.py rhettinger, 2002-02-06 14:48
Messages (2)
msg38880 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2002-02-06 14:04
The download attachment contains a module which 
simulates every feature proposed in PEP 279,
Enhanced Generators.

It is provided as a proof-of-concept and as a means 
for experimenting with the proposed features.

It includes:
1.  New built-ins:  xmap, xfilter, xzip, and indexed
2.  Generator comprehensions
3.  Generator parameter passing
4.  Generator exception passing
msg38881 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2002-05-05 08:47
Logged In: YES 
user_id=80475

indexed() implemented as enumerate() for Py2.3.
xzip() patch submitted as iterzip().
xmap() and xfilter() to be put in separate module.
Generator comprehensions rejected.
Generator parameter passing dropped and attribute passing 
being considered instead.
Generator exception passing postponed.
History
Date User Action Args
2022-04-10 16:04:57adminsetgithub: 36037
2002-02-06 14:04:01rhettingercreate