IronPython.Objects.Dict dictionaries seem to be changed in a strange way in 0.7.5...
 
In IronPython-0.7.4,
 
>>> sys.modules.Contains("site")
True
 
in IronPython-0.7.5
 
>>>sys.modules.Contains("site")
>>> sys.modules.Contains("site")
IronPython.Objects.PythonValueError: bad args to this method <method# Contains on IronPython.Objects.Dict>
   at IronPython.Objects.ReflectedMethodBase.Call(Object[] args)
   at IronPython.Objects.Ops.Call(Object func, Object arg0)
   at input_36.Run(Frame frame)
   at IronPython.Hosting.PythonEngine.DoOneInteractive(Frame topFrame)
   at IronPython.Hosting.PythonEngine.RunInteractive()
 
Looking at the doc string, it seems to want some sort of key-value pair - but Contains should just take a key, no?
_______________________________________________
users-ironpython.com mailing list
users-ironpython.com@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to