Turn off ZeroDivisionError?

Mark Dickinson dickinsm at gmail.com
Fri Feb 15 23:43:49 CET 2008


On Feb 15, 5:27 pm, Steve Holden <st... at holdenweb.com> wrote:
> True enough, but aren't they of indeterminate magnitude? Since infinity
> == infinity + delta for any delta, comparison for equality seems a
> little specious.

The equality is okay;  it's when you start trying to apply arithmetic
laws like

a+c == b+c implies a == b

that you get into trouble.  In other words, the doubly-extended real
line is a perfectly well-defined and well-behaved *set*, and even a
nice (compact) topological space with the usual topology.  It's just
not a field, or a group under addition, or ...

Mark



More information about the Python-list mailing list