[Python-Dev] decimal.py: == and != comparisons involving NaNs (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Mon Nov 9 14:29:16 CET 2009
- Previous message: [Python-Dev] decimal.py: == and != comparisons involving NaNs
- Next message: [Python-Dev] decimal.py: == and != comparisons involving NaNs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Stefan Krah <stefan-usenet 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.
- Previous message: [Python-Dev] decimal.py: == and != comparisons involving NaNs
- Next message: [Python-Dev] decimal.py: == and != comparisons involving NaNs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]