Author: Matti Picus <[email protected]>
Branch: win32-cleanup2
Changeset: r54638:b926e74b1d0e
Date: 2012-04-23 02:16 +0300
http://bitbucket.org/pypy/pypy/changeset/b926e74b1d0e/
Log: merge from default
diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module/cpyext/slotdefs.py
--- a/pypy/module/cpyext/slotdefs.py
+++ b/pypy/module/cpyext/slotdefs.py
@@ -65,7 +65,7 @@
check_num_args(space, w_args, 0)
args_w = space.fixedview(w_args)
res = generic_cpy_call(space, func_inquiry, w_self)
- if res == -1:
+ if rffi.cast(lltype.Signed, res) == -1:
space.fromcache(State).check_and_raise_exception()
return space.wrap(bool(res))
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit