This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eryksun
Recipients berdario, eryksun, ezio.melotti, josh.r, rhettinger, stutzbach
Date 2019-02-14.18:21:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550168506.3.0.749418722273.issue25737@roundup.psfhosted.org>
In-reply-to
Content
I had closed this issue because I thought issue 23864 would be resolved by extending the existing behavior. Three years later, still with no resolution, Guido commented on that issue that the current behavior shouldn't be extended and only the documentation should be fixed. In apparent contradiction, we now have the Collection ABC (Sized, Iterable, Container), which does implement a __subclasshook__.

    >>> issubclass(array.array, abc.Collection)
    True

Anyway, it was obviously a mistake to close this specific issue in favor of the general design problem. This problem can be easily solved via registration. The general design problem is dead in the water.
History
Date User Action Args
2019-02-14 18:21:46eryksunsetrecipients: + eryksun, rhettinger, stutzbach, ezio.melotti, berdario, josh.r
2019-02-14 18:21:46eryksunsetmessageid: <1550168506.3.0.749418722273.issue25737@roundup.psfhosted.org>
2019-02-14 18:21:46eryksunlinkissue25737 messages
2019-02-14 18:21:46eryksuncreate