Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:
One other thought. The mental model for degrees() is just a simple scaling operation. If done in pure Python, we would get *inf* rather than an OverflowError. I don't see any value in breaking with the obvious substitution: >>> sys.float_info.max * (180 / pi) inf ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue28540> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com