On 11/26/2021 7:36 PM, Greg Ewing wrote:
On 27/11/21 11:34 am, Eric V. Smith wrote:
Would adding something to the Iterator ABC really also add it to my
class Foo?
...
As a consequence, there is strong pressure to keep the number of
required methods to a minimum. It also means that adding required
methods to a protocol late in the life of the language is effectively
impossible.
That's what I assumed, too. Thanks.
Eric
_______________________________________________
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/523F4TUOKABERKFNVRQRLKTMHF6WB2IN/
Code of Conduct: http://python.org/psf/codeofconduct/