[pypy-commit] pypy default: try to not export cpyext_tp_setattro

fijal noreply at buildbot.pypy.org
Tue May 21 14:54:17 CEST 2013


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r64380:a3b64c491850
Date: 2013-05-21 14:53 +0200
http://bitbucket.org/pypy/pypy/changeset/a3b64c491850/

Log:	try to not export cpyext_tp_setattro

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
@@ -344,7 +344,7 @@
             return
 
         @cpython_api([PyObject, PyObject, PyObject], rffi.INT_real,
-                     error=-1, external=True) # XXX should not be exported
+                     error=-1, external=False)
         @func_renamer("cpyext_tp_setattro_%s" % (typedef.name,))
         def slot_tp_setattro(space, w_self, w_name, w_value):
             if w_value is not None:


More information about the pypy-commit mailing list