[pypy-svn] rev 997 - pypy/trunk/src/pypy/objspace/std
tismer at codespeak.net
tismer at codespeak.net
Mon Jun 23 16:40:49 CEST 2003
Author: tismer
Date: Mon Jun 23 16:40:48 2003
New Revision: 997
Removed:
pypy/trunk/src/pypy/objspace/std/iterobject_app.py
Log:
removed -- very long term design goal
Deleted: pypy/trunk/src/pypy/objspace/std/iterobject_app.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/std/iterobject_app.py Mon Jun 23 16:40:48 2003
+++ (empty file)
@@ -1,19 +0,0 @@
-
-class SequenceIterator:
- def __init__(self, it_seq, it_index):
- self.it_seq = it_seq
- self.it_index = it_index
- def __iter__(self):
- return self
- def next(self):
- try:
- item = self.it_seq[self.it_index]
- except IndexError:
- raise StopIteration
- self.it_index += 1
- return item
- # Yes, the implementation is complete, I think
-
-# XXX design a way to have this working and get rid of iterobject.py
-# (a very long term design goal, when the interpreter is so fast that
-# we can do almost everything in app space -- for now, we just svn rm this!)
More information about the Pypy-commit
mailing list