M
Markus Rother
Hello,
The following behaviour seen in 3.2 seems very strange to me:
As expected:
How/why can this be intended?
Thanks, everybody.
Markus R.
The following behaviour seen in 3.2 seems very strange to me:
As expected:
TrueFalse() == []
However:NotImplemented().__eq__([]) NotImplemented
[].__eq__(())
And:True
Hence:bool(().__eq__([])) True
( () == [] ) != ( ().__eq__([]) )
How/why can this be intended?
Thanks, everybody.
Markus R.