Hi ironpython,

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

In today's digest:ISSUES

1. [New comment] TypeError on joining strings with byte array
2. [New comment] Conversion from Ironpython's Decimal to System.Decimal loses 
precision.

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

ISSUES

1. [New comment] TypeError on joining strings with byte array
http://ironpython.codeplex.com/workitem/33807
User CurtHagenlocher has commented on the issue:

"In IronPython, strings are unicode by default and by design. If you run the 
same code in Python3 (where strings are also unicode), you'll get basically the 
same error message."-----------------

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

"I suspect this is an overload resolution issue. decimal.Decimal has 
conversions to double and int, and System.Decimal has constructors for each of 
those. If that is indeed the problem, then it could be very hard to change the 
behavior without breaking something else. A conversion path through double 
isn't ideal either, of course, as you may end up losing precision there, too. 
But it's probably the best automatic possibility given that the Python decimal 
is a pure Python type that IronPython doesn't (and shouldn't) know the details 
of.

You should be able to manually say 
System.Decimal(float(decimal.Decimal('12.34'))"
----------------------------------------------



----------------------------------------------
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.
_______________________________________________
Ironpython-users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/ironpython-users

Reply via email to