[docs] [issue11945] Adopt and document consistent semantics for handling NaN values in containers

Glenn Linderman report at bugs.python.org
Thu Apr 28 09:40:08 CEST 2011


Glenn Linderman <v+python at g.nevcal.com> added the comment:
Nick says (and later explains better what he meant): 
The status quo works. Proposals to change it on theoretical grounds have a significantly higher bar to meet than proposals to simply document it clearly.
I say:
What the status quo doesn't provide is containers that "work". In this case what I mean by "work" is that equality of containers is based on value, and value comparisons, and accept and embrace non-reflexive equality. It might be possible to implement alternate containers with these characteristics, but that requires significantly more effort than simply filtering values.
Nonetheless, I totally agree with msg134654, and agree that properly documenting the present implementation would be a great service to users of the present implementation.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11945>
_______________________________________


More information about the docs mailing list

AltStyle によって変換されたページ (->オリジナル) /