Joachim B Haga wrote: >> Since changing this would break class definitions, that ain't going to >> happen. Suggestions for how to explain the behaviour more clearly in the >> exec() documentation probably wouldn't hurt though. > > I don't quite see how exec() affects the class definition syntax? I was merely pointing out that running exec() with separate globals and locals namespaces ends up invoking the same underlying machinery as is used to execute a class definition. For the docs suggestions, could you either email that to docs at python.org, or else create a documentation issue at bugs.python.org? (It will get lost otherwise) Cheers, Nick. -- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia ---------------------------------------------------------------
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