Message364874
> I assumed that Level1A should already be in scope while defining
> the insides of Level1B. But it isn't.
That analysis is correct. Class namespaces don't nest like functions do. The "enclosing" namespace is globals, not the surrounding class.
This isn't a bug, but it is understandable why you might assume otherwise. |
|
Date |
User |
Action |
Args |
2020-03-23 18:21:56 | rhettinger | set | recipients:
+ rhettinger, yurzo |
2020-03-23 18:21:56 | rhettinger | set | messageid: <1584987716.51.0.391600348305.issue40033@roundup.psfhosted.org> |
2020-03-23 18:21:56 | rhettinger | link | issue40033 messages |
2020-03-23 18:21:56 | rhettinger | create | |
|