Tal,
On 2019/11/18 10:59, Tal Einat wrote:
These days, thanks to pip and PyPI, anyone can publish libraries and it
is easy for developers to find and use them if they like. There is no
longer a need to add things to the stdlib just to make them widely
available.
Fair enough, only that you possibly neglected to remember the benefits
to my ego if I get something accepted into mainline. :-D
Framing this a little more specifically:
Aside from my original Thesaurus release in Dec 2012, there have been
many many attempts at extended/recursive dictionary objects. The use
case for such a thing is well established. (JSON maybe enough to mention)
I would argue that a new standardized mapping datatype, possibly (some
form of) Thesaurus, could be warranted in stdlib.
At this stage I consider Thesaurus 'serious' and 'interesting' because:
- I've been using some version of it for 7 years in my own
production code; many of the concepts in it are mature.
- It's tightly wrapped around and highly compatible with dict.
- I've paid close attention to performance
- The recent extended features for tree searches and the slicing
you can do with 'keypaths' (my own term) appears novel.
I am also sure that some will consider things I currently do in
Thesaurus complete heresy. For now I'll point to ThesaurusCfg as an
actually use case. (But still consider my use of coercion methods really
cool :-)
My goal is to attempt to take Thesaurus toward a standardized or de
facto recursive mapping object and I welcome any dialog that results.
Dave
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at
https://mail.python.org/archives/list/python-dev@python.org/message/QLO2QDSAD3A3NUDJOGIJA2NUHD3N2GGN/
Code of Conduct: http://python.org/psf/codeofconduct/