[issue25958] Implicit ABCs have no means of "anti-registration"

Serhiy Storchaka report at bugs.python.org
Tue Jan 5 15:58:18 EST 2016


Serhiy Storchaka added the comment:

Needed tests for Hashable, Awaitable, Coroutine, AsyncIterable, AsyncIterator, Iterator, Generator, Sized, Container, Callable.

The patch adds some tests for __iadd__ and __eq__. I think needed tests for a number of other special methods. In particular should be tested a classes without __iadd__, but with __add__ but to None; with __radd__, but with __add__ set to None; without __add__, but with __radd__ set to None; with __eq__, but with __ne__ set to None, etc.

Added other comments on Rietveld.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25958>
_______________________________________


More information about the Python-bugs-list mailing list