[pypy-commit] pypy cpyext-injection: A branch to "inject" custom PyPy implementations for some types that are
arigo
pypy.commits at gmail.com
Wed Oct 19 07:47:51 EDT 2016
Author: Armin Rigo <arigo at tunes.org>
Branch: cpyext-injection
Changeset: r87869:d0156c278ca0
Date: 2016-10-19 13:46 +0200
http://bitbucket.org/pypy/pypy/changeset/d0156c278ca0/
Log: A branch to "inject" custom PyPy implementations for some types that
are otherwise provided via cpyext
diff --git a/pypy/module/cpyext/typeobject.py b/pypy/module/cpyext/typeobject.py
--- a/pypy/module/cpyext/typeobject.py
+++ b/pypy/module/cpyext/typeobject.py
@@ -456,6 +456,7 @@
def __init__(self, space, pto):
bases_w = space.fixedview(from_ref(space, pto.c_tp_bases))
dict_w = {}
+ ...
add_operators(space, dict_w, pto)
convert_method_defs(space, dict_w, pto.c_tp_methods, self)
More information about the pypy-commit
mailing list