diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2003-10-19 18:30:01 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2003-10-19 18:30:01 (GMT) |
commit | 01a74b2fa1b7eef7e4c4f575e353662eeb6e3b49 (patch) | |
tree | 5d3a030a1249c41d7b2f347139737156b341a2a5 /Misc | |
parent | 95cf84a4f3bd6b679e5c632512d02008b5ff8f46 (diff) | |
download | cpython-01a74b2fa1b7eef7e4c4f575e353662eeb6e3b49.zip cpython-01a74b2fa1b7eef7e4c4f575e353662eeb6e3b49.tar.gz cpython-01a74b2fa1b7eef7e4c4f575e353662eeb6e3b49.tar.bz2 |
Make CObjects mutable. Fixes #477441.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -12,6 +12,8 @@ What's New in Python 2.4 alpha 1? 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). |