[pypy-issue] Issue #2033: "AttributeError: object attribute is read-only" for descriptor that implements __delete__ (pypy/pypy)

George Sakkis issues-reply at bitbucket.org
Mon Apr 20 00:06:33 CEST 2015


New issue 2033: "AttributeError: object attribute is read-only" for descriptor that implements __delete__
https://bitbucket.org/pypy/pypy/issue/2033/attributeerror-object-attribute-is-read

George Sakkis:

Looks like pypy considers a descriptor that defines `__get__` and `__delete__` as read-only, [unlike cPython](https://travis-ci.org/pydanny/cached-property/builds/59162169). Relevant descriptor can be seen [here](https://github.com/gsakkis/cached-property/blob/6dfcdece430112596b7528a311d316b9723abac0/cached_property.py#L52).




More information about the pypy-issue mailing list