On 22/02/2021 04:51, Chris Angelico wrote:
On Mon, Feb 22, 2021 at 1:11 PM Brendan Barnwell <brenb...@brenbarn.net> wrote:

         Why not just put SimpleNamespace in the collections module?  The one in
types could be aliased to it (or vice versa if we really don't want to
change anything).  That seems like it's a trivial change that would
greatly increase discoverability of SimpleNamespace without adding
complexity of any kind.
I absolutely agree, and that's going to be the cornerstone of the
proposal :)
Seems sensible.
  But at the same time as putting into collections, we can
also give it a much shorter name. Whatever happens, it's going to be
an exact alias for types.SimpleNamespace, which isn't going away.

In my mind, the current front-runners are:

* namespace
* ns
* thing
* mutableobject
* mobject
* attrobject
* bunch

I
What's wrong with "namespace"?  None of the other names IMO convey the intended/suggested use nearly as well.
Rob Cliffe
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/DEAUQM5FBYYU4WK3FY45XMAFMFNBKYIP/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to