[pypy-svn] r50885 - pypy/dist/pypy/objspace/std
fijal at codespeak.net
fijal at codespeak.net
Tue Jan 22 17:34:37 CET 2008
Author: fijal
Date: Tue Jan 22 17:34:35 2008
New Revision: 50885
Modified:
pypy/dist/pypy/objspace/std/objspace.py
Log:
Confuse annotator less (This would soon go away anyway)
Modified: pypy/dist/pypy/objspace/std/objspace.py
==============================================================================
--- pypy/dist/pypy/objspace/std/objspace.py (original)
+++ pypy/dist/pypy/objspace/std/objspace.py Tue Jan 22 17:34:35 2008
@@ -426,7 +426,8 @@
w_result = x.__spacebind__(self)
#print 'wrapping', x, '->', w_result
return w_result
- if isinstance(x, (r_int, r_uint, r_longlong, r_ulonglong)):
+ if isinstance(x, r_int) or isinstance(x, r_uint) or \
+ isinstance(x, r_longlong) or isinstance(x, r_ulonglong):
return W_LongObject.fromrarith_int(x)
# _____ below here is where the annotator should not get _____
More information about the Pypy-commit
mailing list