Closed GoogleCodeExporter closed 9 years ago
It appears that the Comparator class is converting all exceptions in child
classes into False return values from the __eq__ method. This should be
unnecessary, as comparators that could raise exceptions are already handling
them (and in the case of Func, we want the Comparator to let the exception
escape so modules like unittest can be used in Func-wrapped validators).
I believe I have addressed the issue without introducing undesired behavior.
Patch attached.
Original comment by mtomc...@google.com
on 6 May 2011 at 5:26
Attachments:
I've just accepted this patch as r62. My editor managed to discard the log
message. Sorry.
Original comment by stev...@google.com
on 6 Jun 2011 at 6:39
Original comment by stev...@google.com
on 6 Jun 2011 at 6:43
Original issue reported on code.google.com by
s...@google.com
on 19 Apr 2011 at 9:37