Python 3.0 - is this true?

Terry Reedy tjreedy at udel.edu
Sat Nov 8 23:04:45 EST 2008


walterbyrd wrote:

Guido and the developers changed the behavior of order comparisons, and 
hence of sorts, because they agreed, on the basis of person-decades of 
experience, with no dissent that I know of, that the new behavior would 
be better.

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

> Would it be better if python lists only accepted one type of data?

Take a look at the array module.




More information about the Python-list mailing list