[Python-checkins] CVS: python/dist/src/Misc NEWS,1.311,1.312
Tim Peters
tim_one@users.sourceforge.net
Tue, 13 Nov 2001 15:11:21 -0800
Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv31339/python/Misc
Modified Files:
NEWS
Log Message:
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.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.311
retrieving revision 1.312
diff -C2 -d -r1.311 -r1.312
*** NEWS 2001/11/09 21:06:24 1.311
--- NEWS 2001/11/13 23:11:19 1.312
***************
*** 37,40 ****
--- 37,47 ----
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
***************
*** 56,60 ****
Library
! - tkFileDialog exposes a Directory class and askdirectory
convenience function.
--- 63,67 ----
Library
! - tkFileDialog exposes a Directory class and askdirectory
convenience function.