On Thu, 12 Apr 2007 16:01:51 -0700, bearophileHUGS wrote: >> [1, 2, 3, 4, 5, 6, [7, 9, 8, 10]] > > Such sorting may be impossible in Python 3.0 (comparing the order of > lists with integers may be seen as meaningless. Otherwise you can see > single numbers as lists of len=1, like another language does).
And such sorting may be impossible in ten billion years when the sun explodes, but is it really necessary to confuse a newbie who is having problems with basic concepts with what "may" happen in some future version of Python? It would be one thing if sorting such lists was depreciated, but it isn't, so I think as far as the Original Poster is concerned, that's just muddying the water. -- Steven. -- http://mail.python.org/mailman/listinfo/python-list