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 Horacio Hoyos
Recipients Horacio Hoyos, ned.deily, r.david.murray, rhettinger
Date 2017-04-27.17:59:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493315956.48.0.295335687769.issue30146@psf.upfronthosting.co.za>
In-reply-to
Content
Although I agree that some design decisions forge a language and sometimes these historical developments win over sounder or more "logical" arguments.

That being said, I believe (as the OP of issue 8743) that the ABC collections should comply to the API of the Python base collections. In that sense, I would expect any custom collection implemented by extending the ABC collections to be used in place of an exiting base one, without any "hiccups". Thus, the custom collection should pass all the tests in the Lib/tests.

Of course, for the moment, this would just require extra work on my part in order to implement all the magic methods and such.

If history is to win again, then at least the documentation of the ABC  collections should clearly state the subtle, but IMHO important, differences between the two.
History
Date User Action Args
2017-04-27 17:59:16Horacio Hoyossetrecipients: + Horacio Hoyos, rhettinger, ned.deily, r.david.murray
2017-04-27 17:59:16Horacio Hoyossetmessageid: <1493315956.48.0.295335687769.issue30146@psf.upfronthosting.co.za>
2017-04-27 17:59:16Horacio Hoyoslinkissue30146 messages
2017-04-27 17:59:16Horacio Hoyoscreate