[Ironpython-users] DynamicObjects.TryConvert not called in IronPython?

zxpatric zxpatric at gmail.com
Fri Jun 24 21:59:56 CEST 2011


I am doing the similar thing as in "
to first convert any member into an object and then expect the
object.TryConvert to handle the final convert. However, what is working in
C# as double a = obj.M1.M2.M3 (return instance of Type C3, which has the
TryConvert to convert it to double type) doesn't work in IronPython. The
last step of converting instance of C3 to double in C3.TryConvert never
happens.  I am currently using IronPython Is this a known issue
that has been addressed in 2.7.1 Beta?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20110624/e58beb65/attachment.html>

More information about the Ironpython-users mailing list