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
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/serhiy-storchaka'closed_at=<Date2015-07-18.20:38:54.655>created_at=<Date2015-05-16.09:54:36.705>labels= ['type-bug', 'library']
title='Issues with equality of inspect objects'updated_at=<Date2015-07-18.20:38:54.653>user='https://github.com/serhiy-storchaka'
There are issues with implementations of equality in inspect classes.
__eq__ doesn't return NotImplemented. This causes that testing for equality with an instance of different classes always returns False, even when other class implements __eq__ that handles inspect class.
__ne__ returns False if __eq__ returns NotImplemented (in subclass).
All tests test only one of "==" or "!=" operations.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: