Guido van Rossum wrote: >>What I wonder is how this will work with classes that are defined >>outside but assigned inside an outer class, i.e.: >> >>class NotInner: >> pass >> >>class Outer: >> Inner = NotInner >> >>Will this set NotInner.__name__ to "Outer.NotInner" or not? > > __name__ should be set to reflect the lexical position of the class > statement. What you do with assignment is your business. > > Thanks for any work you can do towards implementing this! I'm not sure I'm up to the task, as I've never messed with the Python parser before. Bye, Walter Dörwald
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4