Nick Coghlan added the comment:

types.SimpleNamespace was added as an implementation detail of the 
"sys.implementation" PEP. It's not a builtin yet, solely because we get far 
fewer arguments about the contents of the types module than we do builtins :)

I'd be +1 on a PEP to also expose it as a "namespace" builtin.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22123>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to