[issue30130] array.array is not an instance of collections.MutableSequence

2019-02-07 Thread Cheryl Sabella
Cheryl Sabella added the comment: As Jim mentioned, issue 29727 also discusses registering array.array. See issue 23864, issue 25737, issue 35190, and issue 35349 for discussions about collections.abc in general. Closing this as a duplicate. -- nosy: +cheryl.sabella resolution: ->

[issue30130] array.array is not an instance of collections.MutableSequence

2017-04-21 Thread Alexander Gosselin
Alexander Gosselin added the comment: Thanks for taking a look at this. I think array is little used, so registering it as a member of some of the abstract base classes in collections could easily have been overlooked. One of the prerequisites for membership in MutableSequence is a .clear() m

[issue30130] array.array is not an instance of collections.MutableSequence

2017-04-21 Thread Jim Fasarakis-Hilliard
Jim Fasarakis-Hilliard added the comment: Thanks for the bug report, Alexander. This is related, if not a superseder, of: https://bugs.python.org/issue29727 -- nosy: +Jim Fasarakis-Hilliard ___ Python tracker

[issue30130] array.array is not an instance of collections.MutableSequence

2017-04-21 Thread Alexander Gosselin
New submission from Alexander Gosselin: array.array has all of the methods required by collections.MutableSequence, but: >>> import array >>> import collections >>> isinstance(array.array, collections.MutableSequence) False -- messages: 292053 nosy: Alexander Gosselin priority: normal s