On Wed, Feb 17, 2021 at 2:32 PM <2qdxy4rzwzuui...@potatochowder.com> wrote:
> On 2021-02-18 at 06:21:19 +1100, > Chris Angelico <ros...@gmail.com> wrote: > > > On Thu, Feb 18, 2021 at 1:53 AM Ricky Teachey <ri...@teachey.org> wrote: > > > > > > I would personally love for SimpleNamespace to get a shorter name and > become a built-in. > > > > Okay. Let's start bikeshedding. If SimpleNamespace were to become a > > builtin, what should its name be? It needs to be short (obviously), > > but not TOO short, and it needs to be at least somewhat descriptive, > > and it needs to not cause confusion with "object". Ideally, it should > > get a name that's unlikely to conflict with names already in frequent > > use. > > > > * namespace > > * ns > > * Thing > > * dump > > * plunkit > > > > I'm not a fan of any of those, but let's see how inspired other people > are :) > > stuff (thank you, George Carlin!) > bag > > Using a initial lower case letter makes it feel more built in, at the > expense of likely breaking more existing code. Using an initial capital > letter makes it feel more like a class, which may or may not be a good > thing. > a few monty python inspired ideas that aren't likely to conflict with much existing code: * circus * parrot * swallow * nudge * grail * patsy --- Ricky. "I've never met a Kentucky man who wasn't either thinking about going home or actually going home." - Happy Chandler
_______________________________________________ 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/O4CEXVY6LIICXH6YTB4GEKJEAU7A57UO/ Code of Conduct: http://python.org/psf/codeofconduct/