[issue24206] Issues with equality of inspect objects

2015-07-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.4, Python 3.6 ___ Python tracker

[issue24206] Issues with equality of inspect objects

2015-07-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5ec2bfbe8115 by Serhiy Storchaka in branch '3.4': Issue #24206: Fixed __eq__ and __ne__ methods of inspect classes. https://hg.python.org/cpython/rev/5ec2bfbe8115 New changeset 66a5f66b4049 by Serhiy Storchaka in branch '3.5': Issue #24206: Fixed __

[issue24206] Issues with equality of inspect objects

2015-05-16 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: There are issues with implementations of equality in inspect classes. 1. __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 ha