[issue25737] array is not a Sequence
berdario
report at bugs.python.org
Thu Nov 26 06:43:10 EST 2015
berdario added the comment:
Ok, basically `Sequence` does not implement `__subclasshook__` and is manually hardcoded to
```
Sequence.register(tuple)
Sequence.register(str)
Sequence.register(range)
Sequence.register(memoryview)
```
This is not by design, is it?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25737>
_______________________________________
More information about the Python-bugs-list
mailing list