[issue25737] array is not a Sequence
Irit Katriel
report at bugs.python.org
Wed Feb 17 10:37:56 EST 2021
Irit Katriel <iritkatriel at yahoo.com> added the comment:
This works now:
>>> from array import array
>>> from collections.abc import Sequence
>>> isinstance(array('I', [1]), Sequence)
True
It was fixed under issue29727.
----------
nosy: +iritkatriel
resolution: -> duplicate
status: open -> closed
superseder: -> collections.abc.Reversible doesn't fully support the reversing protocol
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue25737>
_______________________________________
More information about the Python-bugs-list
mailing list