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

Barry A. Warsaw report at bugs.python.org
Sun Aug 3 16:50:31 CEST 2014


Barry A. Warsaw added the comment:

I'm not in favor of changing object() but exposing types.SimpleNamespace as built-in namespace() doesn't seem like such a bad idea, especially given Tim's penultimate Zen aphorism.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22123>
_______________________________________


More information about the Python-bugs-list mailing list