[Python-Dev] Re: Python-Dev Digest, Vol 3, Issue 25

Skip Montanaro skip at pobox.com
Tue Oct 14 11:19:19 EDT 2003

    Guido> [Skip]
    >> direction=[ascending|descending]
    >> ?  Just a thought.

    Guido> But where would these constants be defined?  Using
    Guido> direction='ascending' feels ugly.

I agree there are problems with the concept.  I was just thinking that
reverse=True implies that the user knows without being told what "forward"
is (without relying on past experience with stuff like the Unix sort()
function).  Fortunately, it's easy enough to try things out in Python. ;-)


More information about the Python-Dev mailing list