Saimadhav Heblikar added the comment: I mentioned my wording for the comment about lesser than partial ordering using the code review tool.
In the attached patch(based on issue22515.stoneleaf.patch.01), I have added test for the case when the other object is not a mapping. I have also tried to refactor the __le__ and __ge__ methods. Please comment on the changes. Regards ---------- nosy: +sahutd Added file: http://bugs.python.org/file36796/issue22515_partial_order_counter_v2.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22515> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com