[IronPython] Beta 8 and passing None for nullable arguments

Martin Maly Martin.Maly at microsoft.com
Wed Jul 5 23:28:48 CEST 2006

This is actually something that we just fixed today. It will be available in the next release, or prior to that, in the form of source code on CodePlex.


From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Hogg, Jonathan
Sent: Tuesday, July 04, 2006 2:55 AM
To: users at lists.ironpython.com
Subject: [IronPython] Beta 8 and passing None for nullable arguments

Hi there,

With beta 7 I was able to call a (non-Python) method that expected Nullable<T> arguments with either an object of type T or None. As of beta 8 I get an ArgumentType exception using None (expected Nullable, got NoneType).

Is this a bug? And does anyone know a workaround?



This message may contain confidential, proprietary, or legally privileged information. No confidentiality or privilege is waived by any transmission to an unintended recipient. If you are not an intended recipient, please notify the sender and delete this message immediately. Any views expressed in this message are those of the sender, not those of KBC Alternative Investment Management, or any affiliate thereof.

This message does not create any obligation, contractual or otherwise, on the part of any such entity. It is not an offer (or solicitation of an offer) of, or a recommendation to buy or sell, any financial product. Any prices or other values included in this message are indicative only, and do not necessarily represent current market prices, the prices at which any KBC entity would enter into a transaction or the prices at which similar transactions may be carried on that entity's own books. The information contained in this message is provided "as is", without representations or warranties, express or implied, of any kind. Past performance is not indicative of future returns.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20060705/3d702664/attachment.html>

More information about the Ironpython-users mailing list