New submission from Matt McEwen :
The Generator ABC in the standard library lets users define objects that follow
the Generator specification given in PEP342, and which can be used in the place
of builtin generator objects.
This was originally added in issue 24018
The ABC enforces that the
Matt McEwen added the comment:
My interpretation of issue 24018 was that the Generator ABC was trying to
follow the PEP as much as possible, so that users were able to produce a custom
generator object and have it behave just like a builtin generator object.
I know that subclassing