Eryk Sun added the comment:
This is a duplicate of issue 23864, i.e. only the "one-trick ponies" work:
>>> issubclass(array.array, abc.Sized)
True
>>> issubclass(array.array, abc.Iterable)
True
>>> issubclass(array.array, abc.Container)
True
----------
nosy: +eryksun
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> issubclass without registration only works for "one-trick pony"
collections ABCs.
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue25737>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com