commit | 01a74b2fa1b7eef7e4c4f575e353662eeb6e3b49 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Sun Oct 19 18:30:01 2003 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Sun Oct 19 18:30:01 2003 +0000 |
tree | 5d3a030a1249c41d7b2f347139737156b341a2a5 | |
parent | 95cf84a4f3bd6b679e5c632512d02008b5ff8f46 [diff] |
Make CObjects mutable. Fixes #477441.
diff --git a/Misc/NEWS b/Misc/NEWS index 967f93a..87a82e9 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -12,6 +12,8 @@ Core and builtins ----------------- +- CObjects are now mutable (on the C level) through PyCObject_SetVoidPtr. + - list.sort() now supports three keyword arguments: cmp, key, and reverse. The key argument can be a function of one argument that extracts a comparison key from the original record: mylist.sort(key=str.lower).