Clone nodes as needed. Added __cmp__ to Node. Removed dead function _getEncoder.
authorFrederic Jolliton <frederic@jolliton.com>
Sun, 11 Sep 2005 05:43:30 +0000 (05:43 +0000)
committerFrederic Jolliton <frederic@jolliton.com>
Sun, 11 Sep 2005 05:43:30 +0000 (05:43 +0000)
commitcde390f341f17ecd90907366e6d3f975ceaa21bf
treecad8b7cf1f510019683f980fe4d62fa775f6b811
parent3a95208ad877561ce65d0b72808dbf474afacdf0
Clone nodes as needed. Added __cmp__ to Node. Removed dead function _getEncoder.

 * Nodes are cloned when inserted in a tree if they're already part of
   another tree.

 * Added __cmp__ operator, which compare nodes based on string values.

 * Removed dead function _getEncoder.
git-archimport-id: frederic@jolliton.com--2005-main/tx--main--0.1--patch-19
nodes.py