Ronald Oussoren added the comment: Serhiy,
I slightly prefer the second patch, but either one would be fine. The reason I asked about explicitly calling __eq__ is that this is an uncommon pattern (at least for me). Ronald ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26711> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com