Message2926
I have attached the patch file. This patch would solve
the following items.
[1803425]
---------
new builtin funcion :- sorted() - a new builtin sorted()
[1758322]
---------
List mutation during sort doesn't throw a ValueError
[1785366]
---------
list.sort should raise ValueError when modified during
sort. This is a dupe of #1758322
New or upgraded built-ins
-------------------------
# new sort() keyword arguments - list.sort() now accepts keyword arguments cmp, key and reverse
# sorted() - a new builtin sorted() acts like an in-place list.sort() but can be used in expressions, as it returns a copy of the sequence, sorted.
http://www.python.org/download/releases/2.4/highlights/
Please find the patch attached and give your valuable
comments.
Thanks,
Mehendran
|
|
Date |
User |
Action |
Args |
2008-02-20 17:18:51 | admin | link | issue1814527 messages |
2008-02-20 17:18:51 | admin | create | |
|