[Python-Dev] Re: Improvement to SimpleNamespace

2020年4月15日 15:54:30 -0700

On Wed, Apr 15, 2020 at 2:12 AM Serhiy Storchaka <[email protected]> wrote:
> Then it obviously should be different class than SimpleNamespace. There
> are too much differences between them, and they are used in different
> circumstances.
+1
Keep in mind that I added SimpleNamespace when implementing PEP 421,
to use for the new "sys.implementation". The whole point was to keep
it simple, as the docs [1] suggest.
-eric
[1] https://docs.python.org/3/library/types.html#types.SimpleNamespace
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/WOBJYHGZGN2IPFTJ2IVCTGJILQVFEFC5/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to