Mark Dickinson added the comment: A late comment: I agree with Ronald here; mightn't it make more sense to raise an exception (ValueError?) for long(float("nan"))?
For comparison, long(float("inf")) currently raises OverflowError, at least on OS X. ---------- nosy: +marketdickinson _____________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1481296> _____________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com