Mark Dickinson <dicki...@gmail.com> added the comment:

IMO, the behaviour is fine;  it's the docs that are unclear.  The rules for 
Decimal are different mainly because trailing zeros have meaning for the 
Decimal type.  (Decimal('1.250') and Decimal('1.25') are two distinct Decimal 
objects, unlike float('1.250') and float('1.25').)

See also issue #7094.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13838>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to