Josh Rosenberg <shadowranger+pyt...@gmail.com> added the comment:
This should not be closed as a duplicate. Yes, array.array isn't automatically a Sequence, but since it isn't, the array module should be modified to explicitly do the equivalent of: import _collections_abc _collections_abc.Sequence.register(array) so it's properly registered manually. ---------- nosy: +josh.r resolution: duplicate -> status: closed -> open superseder: issubclass without registration only works for "one-trick pony" collections ABCs. -> _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue25737> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com