[pypy-commit] pypy length-hint: Add a comment.

arigo noreply at buildbot.pypy.org
Sun Jun 10 15:50:44 CEST 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: length-hint
Changeset: r55542:00a0546533c0
Date: 2012-06-10 15:50 +0200
http://bitbucket.org/pypy/pypy/changeset/00a0546533c0/

Log:	Add a comment.

diff --git a/pypy/objspace/std/iterobject.py b/pypy/objspace/std/iterobject.py
--- a/pypy/objspace/std/iterobject.py
+++ b/pypy/objspace/std/iterobject.py
@@ -16,6 +16,7 @@
             raise
 
     try:
+        XXX  # should not use call_method here, which is based on getattr
         w_hint = space.call_method(w_obj, '__length_hint__')
     except OperationError, e:
         if not (e.match(space, space.w_TypeError) or


More information about the pypy-commit mailing list