Devin Jeanpierre wrote:
I answered my own question later, by accident: Java nulls are castable
to each other if you do it explicitly (routing through Object -- e.g.
(Something)((Object) ((SomeOtherThing) null)))).
So in that sense, there is only one null, just with some arbitrary
compiler distinctions you can break through if you try hard enough.
You can't conclude that they all have the same runtime
representation, though. The compiler could be generating
code to convert them in response to the cast.
--
Greg
--
https://mail.python.org/mailman/listinfo/python-list