[pypy-commit] pypy default: Remove PyEval_GetFrame() from stubs
arigo
pypy.commits at gmail.com
Mon Oct 8 14:06:25 EDT 2018
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r95192:0f86b89b1d81
Date: 2018-10-08 20:05 +0200
http://bitbucket.org/pypy/pypy/changeset/0f86b89b1d81/
Log: Remove PyEval_GetFrame() from stubs
diff --git a/pypy/module/cpyext/stubs.py b/pypy/module/cpyext/stubs.py
--- a/pypy/module/cpyext/stubs.py
+++ b/pypy/module/cpyext/stubs.py
@@ -1263,13 +1263,6 @@
for PyObject_Str()."""
raise NotImplementedError
- at cpython_api([], PyFrameObject)
-def PyEval_GetFrame(space):
- """Return the current thread state's frame, which is NULL if no frame is
- currently executing."""
- borrow_from()
- raise NotImplementedError
-
@cpython_api([PyFrameObject], rffi.INT_real, error=CANNOT_FAIL)
def PyFrame_GetLineNumber(space, frame):
"""Return the line number that frame is currently executing."""
More information about the pypy-commit
mailing list