Message2926

Author mehendran
Recipients
Date 2007-10-16.15:06:21
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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





History
Date User Action Args
2008-02-20 17:18:51adminlinkissue1814527 messages
2008-02-20 17:18:51admincreate