[pypy-svn] r74379 - pypy/trunk/pypy/module/cpyext
afa at codespeak.net
afa at codespeak.net
Wed May 5 16:02:20 CEST 2010
Author: afa
Date: Wed May 5 16:02:17 2010
New Revision: 74379
Modified:
pypy/trunk/pypy/module/cpyext/pyerrors.py
Log:
Translation fix
Modified: pypy/trunk/pypy/module/cpyext/pyerrors.py
==============================================================================
--- pypy/trunk/pypy/module/cpyext/pyerrors.py (original)
+++ pypy/trunk/pypy/module/cpyext/pyerrors.py Wed May 5 16:02:17 2010
@@ -192,7 +192,7 @@
if w_category is None:
w_category = space.w_None
w_message = space.wrap(rffi.charp2str(message_ptr))
- w_stacklevel = space.wrap(stacklevel)
+ w_stacklevel = space.wrap(rffi.cast(lltype.Signed, stacklevel))
w_module = PyImport_Import(space, space.wrap("warnings"))
w_warn = space.getattr(w_module, space.wrap("warn"))
More information about the Pypy-commit
mailing list