Duncan Grisby wrote:
In article <[EMAIL PROTECTED]>,
 Terry Reedy  <[EMAIL PROTECTED]> wrote:

Have you written any Python code where you really wanted the old, unpredictable behavior?

I have an object database written in Python. It, like Python, is
dynamically typed. It heavily relies on being able to sort lists where
some of the members are None. To some extent, it also sorts lists of
other mixed types. It will be very hard to migrate this aspect of it
to Python 3.

Very Hard? Several key functions have been suggested on this thread. Given that 2.x only sorts most but not all types and that the sort is only guaranteed to be consistent within a session, as I remember, I suspect you can choose or write something at least as good for your purposes.

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to