[issue22123] Provide a direct function for types.SimpleNamespace()

Nick Coghlan report at bugs.python.org
Wed Aug 6 23:43:47 CEST 2014


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 <report at bugs.python.org>
<http://bugs.python.org/issue22123>
_______________________________________


More information about the Python-bugs-list mailing list