Nov. 9, 2009
5:29 a.m.
Stefan Krah <stefan-usenet <at> bytereef.org> writes:
I guess my point is that NaNs in lists and dicts are broken in so many ways that it might be good to discourage this use. (And get the added benefit of safer mathematical behavior for == and !=.)
Giving users seemingly random and unexplainable exceptions would not be a good way to discourage it, though.