From: Yuri T. <qar...@gm...> - 2008-10-22 16:53:43
|
> Apparently Treap wasn't tested in Python 2.3 as the builtin function > ``sorted`` (as well as ``operator.itemgetter`` which sorted needs) are > not available until 2.4. We get errors on import. Can't even try > running the code. I did test it with 2.3, discovered that it wasn't working, but thought that this would be fixable, so this has been on my todo list. > Personally, I'd prefer dropping Treap for an OrderedDict. odict [1] We can definitely think about this. I'll have to read up on odict to see if it does everything that we need. Of top of my head, though, odict 1400 lines, too big to just include in our code, so we would have to worry about an extra dependency. But let's think about this. Perhaps we should look at more options too. - yuri -- http://sputnik.freewisdom.org/ |