Amaury Forgeot d Arc <[email protected]> added the comment:

The fix for issue1473 was incomplete.
Fixed with changeset ff06e504ab9c, thanks for the report!

Note that _fields_ are handled a bit differently than CPython:
- with CPython, _fields_ is inherited from the base class.
- PyPy considers that a subclass without _fields_ is equivalent to a class with 
_fields_=[], so it sets this _fields_=[] as a default value.

The resulting classes should behave the same, of course.

----------
nosy: +amaury
status: unread -> resolved

________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1498>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to