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 Julian
Recipients Julian, r.david.murray, rhettinger
Date 2011-06-13.23:53:49
SpamBayes Score 3.7054804e-12
Marked as misclassified No
Message-id <1308009229.95.0.235390735299.issue12330@psf.upfronthosting.co.za>
In-reply-to
Content
Oh boy. Reading the comment in Issue9212 more carefully now that you said that I see that Mr. Hettinger said exactly that. I apologize for missing it the first time.

"Concrete classes are allowed to have more features than the corresponding ABC.  The ABCs are not intended to be full-featured; instead, they specify the part of the API that will be guaranteed.  For example, the union() method for built-in sets allows two or more set arguments, but the corresponding method for the ABC is limited to two arguments.  This was an intentional difference, designed to make it easier for people to implement a Set class."

I suppose I should close this, unless there's some hope perhaps of some elaboration on that last line. Why couldn't collections provide the named methods too (in what way is this "easier"?)
History
Date User Action Args
2011-06-13 23:53:50Juliansetrecipients: + Julian, rhettinger, r.david.murray
2011-06-13 23:53:49Juliansetmessageid: <1308009229.95.0.235390735299.issue12330@psf.upfronthosting.co.za>
2011-06-13 23:53:49Julianlinkissue12330 messages
2011-06-13 23:53:49Juliancreate