Message289519
I'm afraid I don't know what SUT means.
But 3 == 3.0 is the correct and expected behaviour. If you need to
check that two values are both the same type and the same value, you
have to validate the type and value separately.
Changing the behaviour of == is ruled out for backwards
compatability, but perhaps you could suggest a new === operator
to check type and value. That would require some discussion on
the Python Ideas mailing list, not just a feature request on the
tracker. |
|
Date |
User |
Action |
Args |
2017-03-13 01:28:02 | steven.daprano | set | recipients:
+ steven.daprano, barry, docs@python, josh.r, xiang.zhang, Alexander Todorov |
2017-03-13 01:28:02 | steven.daprano | link | issue29756 messages |
2017-03-13 01:28:01 | steven.daprano | create | |
|