Message329813
$ python3
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 26 2018, 23:26:24)
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from unittest.mock import call
>>> call(x=1) == call(x=2)
False
Good so far?
>>> call(x=1).foo == call(x=2).foo
True
Eep, I think a lot of people might find that quite surprising! |
|
Date |
User |
Action |
Args |
2018-11-13 08:05:32 | cjw296 | set | recipients:
+ cjw296, michael.foord |
2018-11-13 08:05:32 | cjw296 | set | messageid: <1542096332.14.0.788709270274.issue35226@psf.upfronthosting.co.za> |
2018-11-13 08:05:31 | cjw296 | link | issue35226 messages |
2018-11-13 08:05:31 | cjw296 | create | |
|