I was told by a professor that dividing by zero or taking a negative square root in Python crashes if you do it in Windows 98.
This seems ridiculous since Python is an interpreted language, but I don’t have a way to verify this, and Windows is notorious… Can anyone confirm or deny the claim? If so, does it have to do with the fact that Python is written in C? (And would C really crash the whole OS for division by zero!?)
It should result in a
ZeroDivisionErrorexception. I can’t imagine why this would be different in Windows 98.What a remarkable waste of time.
Under Win98 with Python 2.3.5