Python 3.0 - is this true?

walterbyrd walterbyrd at
Sat Nov 8 19:20:31 CET 2008

I have read that in Python 3.0, the following will raise an exception:

>>> [2, 1, 'A'].sort()

Will that raise an exception? And, if so, why are they doing this? How
is this helpful? Is this new "enhancement" Pythonic?

More information about the Python-list mailing list