[Python-Dev] decorate-sort-undecorate
Raymond Hettinger
python at rcn.com
Tue Oct 14 15:41:39 EDT 2003
More information about the Python-Dev mailing list
Tue Oct 14 15:41:39 EDT 2003
- Previous message: [Python-Dev] decorate-sort-undecorate
- Next message: [Python-Dev] decorate-sort-undecorate
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> > [Neil Schemenauer] > > > 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. [Tim] > > That could work well. If a comparison function was specified too, it > > would > > only see the key (addressing one of Raymond's concerns). [Me] > Don't you still need a tie-breaker index to preserve stability? Arghh! I see it now. Raymond ################################################################# ################################################################# ################################################################# ##### ##### ##### ################################################################# ################################################################# #################################################################
- 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