On Apr 25, 8:17 pm, Jon Ribbens <[EMAIL PROTECTED]> wrote: > On 2008-04-25, Martin v. Löwis <[EMAIL PROTECTED]> wrote: > > > None is smaller than anything. > > According to Tim Peters, this is not true. > > See http://bugs.python.org/issue1673405
This is unfortunate. I would advocate something like ordering "incomparable objects" by the name of their type or something similar. When building indexing structures it can be very nice to be able to construct a list of heterogeneous tuples and sort them without getting an exception. Implementing this using L.sort(cmp) where cmp is implemented in Python can result in a significant speed penalty. What's up with Tim Peters anyway? I haven't seen much from him for a while. -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=quote+tim+peters -- http://mail.python.org/mailman/listinfo/python-list