[issue39075] types.SimpleNamespace should preserve attribute ordering (?)

Eric Snow report at bugs.python.org
Fri Dec 27 15:15:15 EST 2019


Eric Snow <ericsnowcurrently at gmail.com> added the comment:

> IMHO, dropping the sort should be a default behavior. If some user need
> this feature, maybe we could supply a param to open the sort function or not?

Consider opening a separate issue (or start a thread on python-ideas)
about adding a more sophisticated implementation to the stdlib's
"reprlib" module.  If you do so then please draw from the
argparse._AttributeHolder implementation.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39075>
_______________________________________


More information about the Python-bugs-list mailing list