[issue35349] collections.abc.Sequence isn't an abstract base class for array.array

2018-11-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See issue23864, issue25737 and issue35190. -- nosy: +serhiy.storchaka resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> array is not a Sequence ___ Python tracker

[issue35349] collections.abc.Sequence isn't an abstract base class for array.array

2018-11-29 Thread Leonard de Ruijter
Leonard de Ruijter added the comment: This might be a duplicate of https://bugs.python.org/issue35190 -- ___ Python tracker ___

[issue35349] collections.abc.Sequence isn't an abstract base class for array.array

2018-11-29 Thread Leonard de Ruijter
New submission from Leonard de Ruijter : array.array seems to have all the abstract methods of a collections.abc.Sequence and all the classes it inherits from, still the following returns False: `isinstance(array.array("u"), collections.abc.Sequence)` -- messages: 330695 nosy: