With the great unification of types and classes, what will happen to the
following identity inconsistency?
0
Nothing, as is. You can always dick about in myint.__new__ if you
really want to manage that, but as others keep saying, you shouldn't
worry about it too much.
Of course, the inconsistency has always been present:
0
Not so much with the consistency, huh?
Here's the deal: if a,b are immutable builtin objects, and a==b, it is
undefined if "a is b" is true. Do not rely on it. Assume patch releases
of Python will change it to be randomly true or false. Assume flags
to Python's compilation will randomly change it to true or false. Assume
the fluttering of the wings of a butterfly in Tibet will create a storm...
err, sorry, got carried away there.
Exercise: Determine for yourself where exactly I got carried away. Discuss.