Author: Antonio Cuni <[email protected]>
Branch: cpyext-nowrapper
Changeset: r92588:fccecff29953
Date: 2017-10-03 20:39 +0200
http://bitbucket.org/pypy/pypy/changeset/fccecff29953/
Log: forgot to rename these
diff --git a/pypy/module/cpyext/pystate.py b/pypy/module/cpyext/pystate.py
--- a/pypy/module/cpyext/pystate.py
+++ b/pypy/module/cpyext/pystate.py
@@ -75,7 +75,7 @@
def ThreadState_dealloc(ts, space):
assert space is not None
- Py_DecRef(ts.c_dict)
+ decref(ts.c_dict)
ThreadStateCapsule = encapsulator(PyThreadState.TO,
dealloc=ThreadState_dealloc)
@@ -319,7 +319,7 @@
interpreter lock must be held."""
if not space.config.translation.thread:
raise NoThreads
- Py_DecRef(tstate.c_dict)
+ decref(tstate.c_dict)
tstate.c_dict = lltype.nullptr(PyObject.TO)
space.threadlocals.leave_thread(space)
space.getexecutioncontext().cleanup_cpyext_state()
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit