[Python-ideas] Modules as global namespaces rather than dicts

Serhiy Storchaka storchaka at gmail.com
Wed Nov 15 05:31:06 EST 2017


14.11.17 22:34, Neil Schemenauer пише:
> This is an idea I have been playing with and seems to hold some
> promise.  I think we should use a module instance as the standard
> global namespace rather than directly using its dict.  I have a
> prototype version of CPython that does this, not working 100% yet
> though.

Wouldn't this harm a performance? Especially after implementing PEP 562.



More information about the Python-ideas mailing list