RE: [IronPython] (no subject)

2005-05-22 Thread Martin Maly
This is a bug that has been fixed in one of the 0.7.* releases. You can get newest version (0.7.5) of IronPython from http://workspaces.gotdotnet.com/ironpython Martin > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Jon Cosby > Sent: Sunday, May

[IronPython] (no subject)

2005-05-22 Thread Jon Cosby
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. Jon Cosby >>> import sys >>> sys.path ['F:\\Projects\\IronPython\\bin', 'C:\\Python23\\Li

RE: [IronPython] getting at the global __dict__ from a module?

2005-05-22 Thread Jim Hugunin
The dictionary you get back from globals() is the __dict__ from the current module. __dict__ is a special field which holds the dictionary which holds all of the rest of the data on a module. Another good way to get this dictionary is for the module to import itself and then look up the __dict

RE: [IronPython] Implementing an interface

2005-05-22 Thread Jim Hugunin
Neil Hodgson wrote: >I have an interface defined in C# that I would like to implement in > IronPython 0.7.5. Similar code works in Jython. The interface looks Implementing an interface in Python is one of the best ways to interoperate with a strongly typed language. As you noted, this works v