Author: Ronan Lamy <[email protected]>
Branch: api_func-refactor
Changeset: r89399:8db0229e854d
Date: 2017-01-06 14:35 +0000
http://bitbucket.org/pypy/pypy/changeset/8db0229e854d/
Log: Do not expose unexported functions to INTERPLEVEL_API either
diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py
--- a/pypy/module/cpyext/api.py
+++ b/pypy/module/cpyext/api.py
@@ -471,7 +471,7 @@
if header is not None:
FUNCTIONS_BY_HEADER[header][func_name] = api_function
- INTERPLEVEL_API[func_name] = unwrapper_catch # used in tests
+ INTERPLEVEL_API[func_name] = unwrapper_catch # used in tests
return unwrapper # used in 'normal' RPython code.
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit