On 8/26/16, Steven D'Aprano steve@pearwood.info wrote:
[...]
from scaling import * int_value = 8*M float_value = 8.0*M fraction_value = Fraction(1, 8)*M decimal_value = Decimal("1.2345")*M
[...]
Disadvantages: none I can think of.
Really interesting idea, but from my POV a little disadvantage is "import *" which bring bunch of one-letter variables into namespace.