Andrew Nester added the comment:

actually, it's more related to subclassing, because the problem comes from the 
fact that before the fix __init__ method receives value as int not Decimal if 
int passed to from_float call. 
That's why only subclasses of Decimal can see difference in arguments received 
by __init__

----------

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

Reply via email to