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 Roy Williams
Recipients Roy Williams, nedbat, ztane
Date 2016-09-25.16:06:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAGYvt0mt2C7EhJVB1CHrcOCXf47UhuqPN0ueOo1OUpYNcP=1Bw@mail.gmail.com>
In-reply-to <1474802680.07.0.568148833291.issue28260@psf.upfronthosting.co.za>
Content
Hey Antti

My understanding is the version available on PyPi is now a strict backport
of what's in Python 3, so they suggested filling the bug in bugs.python.org
so it can be backported.

http://lists.idyll.org/pipermail/testing-in-python/2016-September/006864.html

Thanks,
Roy

On Sep 25, 2016 4:24 AM, "Antti Haapala" <report@bugs.python.org> wrote:

>
> Antti Haapala added the comment:
>
> 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.
>
> ----------
> nosy: +ztane
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue28260>
> _______________________________________
>
History
Date User Action Args
2016-09-25 16:06:40Roy Williamssetrecipients: + Roy Williams, nedbat, ztane
2016-09-25 16:06:40Roy Williamslinkissue28260 messages
2016-09-25 16:06:40Roy Williamscreate