Aaron added the comment:

I did not encounter this in a regular application.  I do use the decimal 
module, and was excited to see the adoption of a faster C version, so I was 
just reading through the code to see how it worked.  I can't think of a 
situation where I would need to construct a decimal from a tuple and not a 
string or some other numeric type, though.  For what it's worth, I think that 
as long as construction from tuples is supported, Decimal(d.as_tuple()) should 
work for all Decimal objects d.

----------

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

Reply via email to