Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
The current code returns NotImplemented for non-Counter. If we want to implement equality comparison with other class we have to override __ne__. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41397> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com