[pypy-svn] r19906 - pypy/branch/somepbc-refactoring/pypy/annotation
mwh at codespeak.net
mwh at codespeak.net
Tue Nov 15 17:22:32 CET 2005
Author: mwh
Date: Tue Nov 15 17:16:04 2005
New Revision: 19906
Modified:
pypy/branch/somepbc-refactoring/pypy/annotation/bookkeeper.py
Log:
add a yelp as a comment
Modified: pypy/branch/somepbc-refactoring/pypy/annotation/bookkeeper.py
==============================================================================
--- pypy/branch/somepbc-refactoring/pypy/annotation/bookkeeper.py (original)
+++ pypy/branch/somepbc-refactoring/pypy/annotation/bookkeeper.py Tue Nov 15 17:16:04 2005
@@ -385,6 +385,8 @@
result = description.ClassDesc(self, pyobj)
elif isinstance(pyobj, types.MethodType):
if pyobj.im_self is None: # unbound
+ # XXX this will return a different Desc than that
+ # returned by getdesc(pyobj.im_func) -- do we care?
result = description.FunctionDesc(self, pyobj.im_func)
elif (hasattr(pyobj.im_self, '_freeze_') and
pyobj.im_self._freeze_()): # method of frozen
More information about the Pypy-commit
mailing list