Re: [IronPython] Simulating namespaces

2006-09-25 Thread Michael Foord
David Anton wrote: > Is this an acceptable way to simulate the type of namespace you'd define in > C#, VB, etc? > > class SimulatedNamespace: > class SomeClass(object): > > > It seems to work ok in my tests, but is there some pitfall to doing this? > For pure Python code I'd use

[IronPython] Simulating namespaces

2006-09-25 Thread David Anton
Is this an acceptable way to simulate the type of namespace you'd define in C#, VB, etc? class SimulatedNamespace: class SomeClass(object): It seems to work ok in my tests, but is there some pitfall to doing this? -- View this message in context: http://www.nabble.com/Simulat