[pypy-commit] pypy cpyext-subclass-setattr: remove unused variable
Author: Matti PicusBranch: cpyext-subclass-setattr Changeset: r94239:a7f1ba785e54 Date: 2018-04-04 22:55 +0300 http://bitbucket.org/pypy/pypy/changeset/a7f1ba785e54/ Log:remove unused variable 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 @@ -887,7 +887,6 @@ base = pto.c_tp_base base_pyo = rffi.cast(PyObject, pto.c_tp_base) if base and not base.c_tp_flags & Py_TPFLAGS_READY: -name = rffi.charp2str(cts.cast('char*', base.c_tp_name)) type_realize(space, base_pyo) if base and not pto.c_ob_type: # will be filled later pto.c_ob_type = base.c_ob_type ___ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit
[pypy-commit] pypy cpyext-subclass-setattr: remove unused variable
Author: Matti PicusBranch: cpyext-subclass-setattr Changeset: r94238:2f6fa12ef5e6 Date: 2018-04-04 22:37 +0300 http://bitbucket.org/pypy/pypy/changeset/2f6fa12ef5e6/ Log:remove unused variable 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 @@ -781,7 +781,6 @@ try: w_obj = _type_realize(space, py_obj) finally: -name = rffi.charp2str(cts.cast('char*', pto.c_tp_name)) pto.c_tp_flags &= ~Py_TPFLAGS_READYING pto.c_tp_flags |= Py_TPFLAGS_READY return w_obj ___ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit