This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ztane
Recipients Roy Williams, nedbat, ztane
Date 2016-09-25.11:24:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1474802680.07.0.568148833291.issue28260@psf.upfronthosting.co.za>
In-reply-to
Content
So you mean that unittest.mock should explicitly set `__hash__ = None`; but this is already what the unittest.mock does, in Python 3; there is no need to set `__hash__ = None`; it is the backport that needs to do this in order to stay compatible. There is no mock.py in 2.7.
History
Date User Action Args
2016-09-25 11:24:40ztanesetrecipients: + ztane, nedbat, Roy Williams
2016-09-25 11:24:40ztanesetmessageid: <1474802680.07.0.568148833291.issue28260@psf.upfronthosting.co.za>
2016-09-25 11:24:40ztanelinkissue28260 messages
2016-09-25 11:24:39ztanecreate