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 neologix
Recipients giampaolo.rodola, gvanrossum, neologix, pitrou, python-dev, vstinner
Date 2013-12-01.10:12:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAH_1eM2goqqwCi+qzmp7myVZSYE-fuXamu2r+4ag3NYNpE8sBA@mail.gmail.com>
In-reply-to <1385890535.78.0.13944806508.issue19842@psf.upfronthosting.co.za>
Content
> STINNER Victor added the comment:
>
>> I think that's a cleaner design.
>
> For common containers like Sequence or Mapping, ABC are useful. But I don't expect new implementations of BaseSelector. Is it just for purity? :-p

There are already implementations in the test suite, but the main
reason is for documentation purposes (i.e. to document clearly which
methods are available, and which are optional).
IMO, ABC make documentation more clear, and also make it easier for
third-party implementations.

I don't have a strong opinion on this, my real concern is really just
the documentation, so if you can propose a documentation patch that
makes things clear, I'm perfectly fine with removing BaseSelector from
the API :-)
History
Date User Action Args
2013-12-01 10:12:49neologixsetrecipients: + neologix, gvanrossum, pitrou, vstinner, giampaolo.rodola, python-dev
2013-12-01 10:12:49neologixlinkissue19842 messages
2013-12-01 10:12:48neologixcreate