While debugging my code I found that the bug was because I assumed that
something like `divmod(float('inf'), 1)` would be equal to `(float('inf'),
float('nan'))`, while Python returns `(float('nan'), float('nan'))`. Why does
Python make the division result be NaN in this case? `float('inf') / 1` is
still `float('inf')`.Thanks, Ram. -- https://mail.python.org/mailman/listinfo/python-list
