You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a netcdftime datetime object is unable to be compared to another object, the __richcmp__ method raises a TypeError. In previous versions of the module the method would return NotImplemented, causing the appropriate method on the other object to be called and allowing classes to be written which could be compared against netcdftime datetime objects. With the TypeError behaviour this is no longer the case.
Can the previous behaviour be restored?
The text was updated successfully, but these errors were encountered:
When a netcdftime datetime object is unable to be compared to another object, the
__richcmp__
method raises aTypeError
. In previous versions of the module the method would returnNotImplemented
, causing the appropriate method on the other object to be called and allowing classes to be written which could be compared against netcdftime datetime objects. With theTypeError
behaviour this is no longer the case.Can the previous behaviour be restored?
The text was updated successfully, but these errors were encountered: