On 29.12.2015 03:59, Nick Coghlan wrote:
On 28 December 2015 at 03:04, Guido van Rossum firstname.lastname@example.org wrote:
[ABCs are one honking great idea -- let's do more of those!]
[collections.abc.Indexable would be a good one.]
Maybe, I still cannot wrap my mind enough around the types-everywhere-in-python-please world.
But, what's so wrong about checking for __getitem__ or __len__ if necessary?