Message277382
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>
> _______________________________________
> |
|
Date |
User |
Action |
Args |
2016-09-25 16:06:40 | Roy Williams | set | recipients:
+ Roy Williams, nedbat, ztane |
2016-09-25 16:06:40 | Roy Williams | link | issue28260 messages |
2016-09-25 16:06:40 | Roy Williams | create | |
|