RE: [IronPython] Contains() doesn't work anymore for sys.modules?

2005-05-23 Thread Jim Hugunin
The underlying implementation of module dictionaries changed from IDictionary to IDictionary. If you're trying to use the CLS methods, you'd want ContainsKey. However, this might easily change again as it should be an internal decision. In fact, it's probably a bug in IronPython that these m

[IronPython] Contains() doesn't work anymore for sys.modules?

2005-05-23 Thread Sumit Basu
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

Re: [IronPython] (no subject)

2005-05-23 Thread Chu Kevin
use 0.75,it can import most standard lib 2005/5/23, Jon Cosby <[EMAIL PROTECTED]>: > Is there something preventing me from importing from the standard Python > library in IronPython 0.6? I can import my own modules, but get a > "NotImplementedException" when importing from the standard library. >