Yes. That's what I meant by "the mixins are part of the contract", sorry.
On Wed, Aug 26, 2020 at 8:45 AM Greg Ewing <greg.ew...@canterbury.ac.nz> wrote: > On 27/08/20 2:32 am, Guido van Rossum wrote: > > The mixins are part of the contract. You are free to override them, > > their implementation is just a helpful,default. > > That doesn't really answer my question. To put it another way: > If someone wanted to implement an object that obeys the mapping > protocol, but without inheriting from the Mapping ABC, would they > be obliged to provide a get() method? > > -- > Greg > _______________________________________________ > Python-ideas mailing list -- python-ideas@python.org > To unsubscribe send an email to python-ideas-le...@python.org > https://mail.python.org/mailman3/lists/python-ideas.python.org/ > Message archived at > https://mail.python.org/archives/list/python-ideas@python.org/message/JJVNPCQP4N3X72GPKTVOFFSMZEZ5JSYW/ > Code of Conduct: http://python.org/psf/codeofconduct/ > -- --Guido van Rossum (python.org/~guido) *Pronouns: he/him **(why is my pronoun here?)* <http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-change-the-world/>
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/RFINQ4D6DROUKYDTPTCLCKHCJFCGKWVM/ Code of Conduct: http://python.org/psf/codeofconduct/