Message310422
Opened after https://github.com/python/cpython/pull/5270 was closed.
Here:
https://docs.python.org/3/library/collections.abc.html
Some abstract methods are inherited from a superclass.
Most of the time the name of the method is mentioned in the subclass.
For example:
Collection inherit from Sized, Iterable and Contains.
But __len__, __iter__ and __contains__ are mentioned, even if they are inherited.
Mapping inherits from Collection, but __len__ and __iter__ appears in the table
There is one exception: Coroutine.
It inherits from Awaitable but we don't see __await__.
What would we do? Let all appear or not? |
|
Date |
User |
Action |
Args |
2018-01-22 14:28:36 | yahya-abou-imran | set | recipients:
+ yahya-abou-imran |
2018-01-22 14:28:36 | yahya-abou-imran | set | messageid: <1516631316.64.0.467229070634.issue32621@psf.upfronthosting.co.za> |
2018-01-22 14:28:36 | yahya-abou-imran | link | issue32621 messages |
2018-01-22 14:28:36 | yahya-abou-imran | create | |
|