On Thu, Apr 28, 2011 at 5:27 PM, Glenn Linderman <v+python@g.nevcal.com> wrote:
Without having read the original articulations by Raymond or any discussions
of the pros and cons,
In my first post to this thread, I pointed out the bug tracker item
(http://bugs.python.org/issue4296) that included the discussion of
restoring this behaviour to the 3.x branch, after it was inadvertently
removed.
On Thu, Apr 28, 2011 at 5:30 PM, Alexander Belopolsky
<alexander.belopolsky@gmail.com> wrote:
Can you give examples of algorithms that would break if one of your
> invariants is violated, but would still work if the data contains
> NaNs?
Sure, anything that cares more about objects than it does about
values. The invariants are about making containers behave like
containers as far as possible, even in the face of recalcitrant types
like IEEE754 floating point.