Lennart Regebro <[email protected]> added the comment: I was also surprised by the special return value, but it seems a bit overkill to change the implementation of rich comparison operators just because it's tricky to make a short and pretty class decorator that extends some operators to all operators. :)
And removing the support for returning NotImplemented is something that only can be done at the earliest in 3.4 anyway. ---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue10042> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
