Author: Maciej Fijalkowski <fij...@gmail.com> Branch: dynamic-specialized-tuple Changeset: r54681:6fbb57921a2d Date: 2012-04-23 18:00 +0200 http://bitbucket.org/pypy/pypy/changeset/6fbb57921a2d/
Log: fix enum_dependencies diff --git a/pypy/translator/c/node.py b/pypy/translator/c/node.py --- a/pypy/translator/c/node.py +++ b/pypy/translator/c/node.py @@ -584,8 +584,9 @@ yield shape for elem in ll_enumerate_elements(self.obj): yield elem - for name in T._names: - yield getattr(self.obj, name) + else: + for name in T._names: + yield getattr(self.obj, name) def getlength(self): T = self.getTYPE() _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit