[Ironpython-users] IronPython, Daily Digest 3/6/2013

CodePlex no_reply at codeplex.com
Thu Mar 7 09:57:37 CET 2013


Hi ironpython,

Here's your Daily Digest of new issues for project "IronPython".

In today's digest:ISSUES

1. [New comment] Conversion from Ironpython's Decimal to System.Decimal loses precision.

----------------------------------------------

ISSUES

1. [New comment] Conversion from Ironpython's Decimal to System.Decimal loses precision.
http://ironpython.codeplex.com/workitem/33830
User vernondcole has commented on the issue:

"This sounds a lot like issue 18220 -- proposed by me 2008-08-20 and marked as fixed by jdhardy 2012-03-10 for release 2.7.2.1. -- except that this is going in the other direction.
Jeff fixed:
d = System.Decimal(12345.67891)
dd = decimal.Decimal(d)
TypeError: Cannot convert <decimal object at 0x000000000000002D> to Decimal

The workaround for that was:
dd=decimal.Decimal(str(d))

A similar workaround should work here.

Hopefully, the fix can be done in less than five years, this time.  :-)
"
----------------------------------------------



----------------------------------------------
You are receiving this email because you subscribed to notifications on CodePlex.

To report a bug, request a feature, or add a comment, visit IronPython Issue Tracker. You can unsubscribe or change your issue notification settings on CodePlex.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20130307/e1464ce5/attachment.html>


More information about the Ironpython-users mailing list