In a message of Wed, 14 Oct 2015 11:44:40 +0200, "M.-A. Lemburg" writes:

>I can only underline this. Conversion to decimals or fractions should
>not be implicit. People needing these types will know when they need
>them and apply the required explicit conversions to fit their use case.
>
>E.g. in accounting you'll likely use decimal, in finance and science
>you stick to floats.
>
>>From a theoretical point of view, it would make sense to add coercion
>to these types, but not from a practical point of view.
>
>-- 
>Marc-Andre Lemburg
>eGenix.com

Actually, people in Finance tend to use both.  (Often while being
completely unaware of what they are doing, too.)  And these days
anybody who is using Decimal for Money (which ought to be everybody,
but again, lots of people don't know what they are doing) still wants
to grab the SciPy stack so they can use pandas to analyse the data,
and matplotlib to graph it, and bokeh to turn the results into a
all-singing and dancing interactive graph.

Laura
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to