On Sat, Feb 19, 2022 at 1:37 PM Stefan Pochmann <smpochm...@gmail.com>
wrote:

> So could/should 10**400 / 1e200 be implemented to do that instead of
> raising the error? Or is it a too rare use case and not worth the effort,
> or does something else speak against it?
>

For me, it's not so much that it's not worth the effort, but more that it's
not worth disrupting the clean and easily-digestible mixed-arithmetic model
that we currently have.

Unrelated question: under this proposal, what would you want
`Fraction(10**400) / 1e200` to do? Should it also produce a `float`
approximation to 1e200, or is it okay for it to raise `OverflowError` as it
currently does?

-- 
Mark
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/NGGFY223OQTOVXBOWU6MW5GOVM3VC3IE/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to