[pypy-svn] r73878 - pypy/branch/cpython-extension/pypy/module/cpyext

afa at codespeak.net afa at codespeak.net
Mon Apr 19 01:11:48 CEST 2010


Author: afa
Date: Mon Apr 19 01:11:46 2010
New Revision: 73878

Modified:
   pypy/branch/cpython-extension/pypy/module/cpyext/api.py
Log:
kill a XXX


Modified: pypy/branch/cpython-extension/pypy/module/cpyext/api.py
==============================================================================
--- pypy/branch/cpython-extension/pypy/module/cpyext/api.py	(original)
+++ pypy/branch/cpython-extension/pypy/module/cpyext/api.py	Mon Apr 19 01:11:46 2010
@@ -233,7 +233,7 @@
 INTERPLEVEL_API = {}
 FUNCTIONS = {}
 FUNCTIONS_STATIC = {}
-FUNCTIONS_C = [ # XXX rename to SYMBOLS_C
+SYMBOLS_C = [
     'Py_FatalError', 'PyOS_snprintf', 'PyOS_vsnprintf', 'PyArg_Parse',
     'PyArg_ParseTuple', 'PyArg_UnpackTuple', 'PyArg_ParseTupleAndKeywords',
     'PyString_FromFormat', 'PyString_FromFormatV', 'PyModule_AddObject',
@@ -445,7 +445,7 @@
 def build_bridge(space):
     from pypy.module.cpyext.pyobject import make_ref
 
-    export_symbols = list(FUNCTIONS) + FUNCTIONS_C + list(GLOBALS)
+    export_symbols = list(FUNCTIONS) + SYMBOLS_C + list(GLOBALS)
     from pypy.translator.c.database import LowLevelDatabase
     db = LowLevelDatabase()
 
@@ -630,7 +630,7 @@
 def setup_library(space):
     from pypy.module.cpyext.pyobject import make_ref
 
-    export_symbols = list(FUNCTIONS) + FUNCTIONS_C + list(GLOBALS)
+    export_symbols = list(FUNCTIONS) + SYMBOLS_C + list(GLOBALS)
     from pypy.translator.c.database import LowLevelDatabase
     db = LowLevelDatabase()
 



More information about the Pypy-commit mailing list