[Python-Dev] decorate-sort-undecorate
Neil Schemenauer
nas-python at python.ca
Tue Oct 14 12:17:56 EDT 2003
More information about the Python-Dev mailing list
Tue Oct 14 12:17:56 EDT 2003
- Previous message: [Python-Dev] decorate-sort-undecorate
- Next message: [Python-Dev] decorate-sort-undecorate
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Oct 14, 2003 at 11:09:15AM -0500, John Williams wrote: > Why not use a special tuple type for the DSU algorithm that ignores its > last element when doing a comparison? Clever idea I think. You don't need a special tuple, just a little wrapper object that holds the key and the original value and uses the key for tp_richcompare. Neil
- Previous message: [Python-Dev] decorate-sort-undecorate
- Next message: [Python-Dev] decorate-sort-undecorate
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list