[issue3360] Inconsistent type-deduction of decimal floating-point
Mark Dickinson
report at bugs.python.org
Tue Jul 15 18:34:22 CEST 2008
Mark Dickinson <dickinsm at gmail.com> added the comment:
I get the same behavior in the trunk (on OS X 10.5), though it's not a
problem in the py3k branch.
I agree that this is undesirable behaviour, and I think it should be
fixed. For me, the crossover seems to occur at 2*10**10:
>>> 020000000000.0
ValueError: invalid literal for long() with base 8: '020000000000.0'
>>> 019999999999.0
19999999999.0
----------
assignee: -> marketdickinson
nosy: +marketdickinson
priority: -> high
type: -> behavior
versions: +Python 2.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3360>
_______________________________________
More information about the Python-bugs-list
mailing list