[Python-ideas] Python Float Update
liik.joonas at gmail.com
Mon Jun 1 16:52:35 CEST 2015
Having some sort of decimal literal would have some advantages of its own,
for one it could help against this sillyness:
I'm not saying that the actual data type needs to be a decimal (
might well be a float but say shove the string repr next to it so it can be
accessed when needed)
..but this is one really common pitfall for new users, i know its easy to
fix the code above,
but this behavior is very unintuitive.. you essentially get a really
expensive float when you do the obvious thing.
Not sure if this is worth the effort but it would help smooth some corners
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas