python bijection

Lie Ryan lie.1296 at gmail.com
Fri Dec 4 15:10:14 EST 2009


On 12/5/2009 6:53 AM, geremy condra wrote:
> To be fair, I don't think you'd have to look very far to find places
> where a graph representation is approximated using some
> combination of dicts, sets, and lists. ElementTree comes to mind
> immediately, and the dict-of-dicts idea for logging recently
> discussed on python-dev explicitly states that it uses that
> structure to represent object graphs. To me that says that there
> is at least some demand.

Though I've never used ElementTree extensively before, I thought it was 
supposed to use a Tree structure (though it is a subset of graph, the 
need for tree is much more common than full-blown graph package).



More information about the Python-list mailing list