[IronPython] How do I SetVariable to None?

ET3D et at et3d.com
Tue Jun 16 06:40:09 CEST 2009


Thanks! Using (Object)null worked.


You probably need to actually cast null to (object).  I suspect you could be
getting the ObjectHandle overload which is used for remoting purposes.

I'm a little surprised C# doesn't report this as ambiguous but then again
IronPython doesn't either and selects the ObjectHandle overload just like
C#.

-- 
View this message in context: http://www.nabble.com/How-do-I-SetVariable-to-None--tp24018839p24047559.html
Sent from the IronPython mailing list archive at Nabble.com.




More information about the Ironpython-users mailing list