Author: Armin Rigo <ar...@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) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit