Mark Lawrence breamoreboy at
Tue Jan 20 03:46:01 CET 2015

On 20/01/2015 00:49, Dan Stromberg wrote:
> On Mon, Jan 19, 2015 at 2:06 PM, Zachary Gilmartin
> <zacharygilmartin at> wrote:
>> Why aren't there trees in the python standard library?
> Trees are kind of specialized datastructures; no one type of tree
> solves all tree-related problems suitably well.
> I think probably the most common need for a tree is implementing a
> cache, but most times you're tempted to sort inside a loop you're
> better off with a tree.
> I've put some time into python trees; most of them are on pypi and at:
> and:

I don't know if you've seen this 
but maybe of interest.

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-list mailing list