Annoying behaviour of the != operator
pmaupin at gmail.com
pmaupin at gmail.com
Sun Jun 12 23:04:45 EDT 2005
If a behavior change is possible at all, I think a more reasonable
behavior would be:
if any rich comparison methods are defined, always use rich comparisons
(and throw an exception if the required rich comparison method is not
available).
This would at least have the benefit of letting users know what code it
had broken when they try to run it :)
Regards,
Pat
More information about the Python-list
mailing list