[Python-ideas] A tree data structure for Python
Mark Lawrence
breamoreboy at yahoo.co.uk
Wed Feb 17 15:48:33 EST 2016
On 17/02/2016 17:01, Stephan Foley wrote:
> Hello, I would love to see a tree data structure out of the box for
> python. I'm thinking of a n-ary or multiway tree. It's a useful data
> structure to model things that are difficult to model with lists,
> dicts, etc. Recursion can be avoided by using a stack for traversal.
It won't happen as there are far too many conflicting options, see for
example the list here http://kmike.ru/python-data-structures/
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
More information about the Python-ideas
mailing list