This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author iuridiniz
Recipients daniel.urban, docs@python, eric.araujo, iuridiniz, stutzbach
Date 2010-11-20.21:45:39
SpamBayes Score 4.6856664e-07
Marked as misclassified No
Message-id <1290289541.19.0.393690118497.issue9746@psf.upfronthosting.co.za>
In-reply-to
Content
Is this bug valid? 

I have checked that only bytearray, bytes, list, range, str and tuple are valid sequence types [using issubclass(type, collections.Sequence)] and all of them has index and count methods... 

I'm working on a script to discovery what types that are not collections.Sequence ABC yet, but must be.

Merwork said the docs are the authoritative reference to define what classes are sequences and one way to discovery it is by comparing the set of methods of each concrete class with the methods of collections.Sequence
History
Date User Action Args
2010-11-20 21:45:41iuridinizsetrecipients: + iuridiniz, stutzbach, eric.araujo, daniel.urban, docs@python
2010-11-20 21:45:41iuridinizsetmessageid: <1290289541.19.0.393690118497.issue9746@psf.upfronthosting.co.za>
2010-11-20 21:45:39iuridinizlinkissue9746 messages
2010-11-20 21:45:39iuridinizcreate