[IronPython] Adding strings to floats

Dino Viehland dinov at exchange.microsoft.com
Fri May 5 18:02:43 CEST 2006


Yep, we shouldn't be trying the conversion in this case, we'll get rid of this "feature".  Thanks for the report.

Do you want to help develop Dynamic languages on CLR? (http://members.microsoft.com/careers/search/details.aspx?JobID=6D4754DE-11F0-45DF-8B78-DC1B43134038)

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Michael Foord
Sent: Friday, May 05, 2006 8:51 AM
To: Discussion of IronPython
Subject: [IronPython] Adding strings to floats

Hello all,

I've discovered a 'feature' of IronPython, that diverges fairly wildly
from the Python spec :

IronPython 1.0.60420 (Beta) on .NET 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
 >>> 2.0 + "3.5"
5.5
 >>>

I think it speaks for itself...

All the best,


Michael Foord
http://www.resolversystems.com
_______________________________________________
users mailing list
users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



More information about the Ironpython-users mailing list