This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients anthonypjshaw, franciscouzo, mark.dickinson, rhettinger
Date 2022-04-05.18:41:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1649184077.16.0.900155084296.issue28540@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2022-04-05 18:41:17rhettingersetrecipients: + rhettinger, mark.dickinson, franciscouzo, anthonypjshaw
2022-04-05 18:41:17rhettingersetmessageid: <1649184077.16.0.900155084296.issue28540@roundup.psfhosted.org>
2022-04-05 18:41:17rhettingerlinkissue28540 messages
2022-04-05 18:41:17rhettingercreate