[pypy-issue] [issue1106] [cpyext] reassignments to tp_dict items don't have an effect

Stefan Behnel tracker at bugs.pypy.org
Mon Mar 11 18:55:38 CET 2013


Stefan Behnel <stefan_ml at behnel.de> added the comment:

Apparently, executing this after class creation provides a work-around:

"""
for name in Spam.__dict__:
    hasattr(Spam, name)
"""

----------
status: unread -> chatting

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1106>
________________________________________


More information about the pypy-issue mailing list