Re: Improved nestedmodule decorator implementation

2016-07-05 Thread Steven D'Aprano
On Tue, 5 Jul 2016 07:31 pm, Gregory Ewing wrote: > I wrote: >> The only shortcoming I can think of is that a nestedmodule >> inside another nestedmodule won't be able to see the names >> in the outer nestedmodule > > Actually, that's not correct -- the version I posted before > actually crashes

Improved nestedmodule decorator implementation

2016-07-05 Thread Gregory Ewing
I wrote: The only shortcoming I can think of is that a nestedmodule inside another nestedmodule won't be able to see the names in the outer nestedmodule Actually, that's not correct -- the version I posted before actually crashes if you try to refer to a name in an outer nestedmodule from an in