Armin Ronacher <armin.ronac...@active-4.com> added the comment: @Georg: Instead of catching a TypeError i would rather call __gt__ / __lt__ directly and check for NotImplemented. Python 2.x did not catch TypeErrors either.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue3976> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com