summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-11-13 23:11:19 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-11-13 23:11:19 (GMT)
commit5ebfd36afa9093099ab23e4d1256274ae7ee6978 (patch)
treeed954f677f6427ad84bead3dc212b8746948f9a8 /Misc
parentafeb2a4d8914848d8761472c93b3e9cbff57b275 (diff)
downloadcpython-5ebfd36afa9093099ab23e4d1256274ae7ee6978.zip
cpython-5ebfd36afa9093099ab23e4d1256274ae7ee6978.tar.gz
cpython-5ebfd36afa9093099ab23e4d1256274ae7ee6978.tar.bz2
CVS patch #477161: New "access" keyword for mmap, from Jay T Miller.
This gives mmap() on Windows the ability to create read-only, write- through and copy-on-write mmaps. A new keyword argument is introduced because the mmap() signatures diverged between Windows and Unix, so while they (now) both support this functionality, there wasn't a way to spell it in a common way without introducing a new spelling gimmick. The old spellings are still accepted, so there isn't a backward- compatibility issue here.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS9
1 files changed, 8 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index ba98321..763a114 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -36,6 +36,13 @@ Core and builtins
Extension modules
+- mmap has a new keyword argument, "access", allowing a uniform way for
+ both Windows and Unix users to create read-only, write-through and
+ copy-on-write memory mappings. This was previously possible only on
+ Unix. A new keyword argument was required to support this in a
+ uniform way because the mmap() signuatures had diverged across
+ platforms. Thanks to Jay T Miller for repairing this!
+
- By default, the gc.garbage list now contains only those instances in
unreachable cycles that have __del__ methods; in 2.1 it contained all
instances in unreachable cycles. "Instances" here has been generalized
@@ -55,7 +62,7 @@ Extension modules
Library
-- tkFileDialog exposes a Directory class and askdirectory
+- tkFileDialog exposes a Directory class and askdirectory
convenience function.
- Symbolic group names in regular expressions must be unique. For