5 Mar
2014
5 Mar
'14
5:34 p.m.
On Wed, Mar 05, 2014 at 11:29:10AM +0000, Oscar Benjamin wrote:
I don't agree with Mark's proposal in this thread but I would like to have decimal literals e.g. 1.23d,
+1 on that. Although that will depend on how big a slowdown it causes to Python's startup time.
and I would also use Fraction literals if available e.g. 1/3F.
Out of curiosity, why F rather than f? (By the way, I think it is somewhat amusing that Python not only has a built-in complex type, but also *syntax* for creating complex numbers, but no built-in support for exact rationals.) -- Steven