summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2004-03-11 02:42:45 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2004-03-11 02:42:45 (GMT)
commit4252a7a5d1c0bbc41abeab2ae5ce29f42cd9ace8 (patch)
treeac1b33aa5755d46f409d11429b355a919f0675c3 /Misc
parent0eadcd9cbbc3e165f046fa01025e2a76084a8e52 (diff)
downloadcpython-4252a7a5d1c0bbc41abeab2ae5ce29f42cd9ace8.zip
cpython-4252a7a5d1c0bbc41abeab2ae5ce29f42cd9ace8.tar.gz
cpython-4252a7a5d1c0bbc41abeab2ae5ce29f42cd9ace8.tar.bz2
Make buffer objects based on mutable objects (like array) safe.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 1fe8bf2..21114d4 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -172,6 +172,11 @@ Core and builtins
to clear the error when attempts to get the __getstate__ attribute
fail caused intermittent errors and odd behavior.
+- buffer objects based on other objects no longer cache a pointer to
+ the data and the data length. Instead, the appropriate tp_as_buffer
+ method is called as necessary.
+
+
Extension modules
-----------------