[Python-ideas] Python Float Update

Stephen J. Turnbull stephen at xemacs.org
Tue Jun 2 06:41:02 CEST 2015


Nick Coghlan writes:

 > the main concern I have with [a FloatLiteral that carries the
 > original repr around] is that we'd be trading the status quo for a
 > situation where "Decimal(1.3)" and "Decimal(13/10)" gave different
 > answers.

Yeah, and that kills the deal for me.  Either Decimal is the default
representation for non-integers, or this is a no-go.  And that isn't
going to happen.



More information about the Python-ideas mailing list