summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2008-01-19 18:18:41 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2008-01-19 18:18:41 (GMT)
commit5c60bfcfbf2dd50cc40210771fdc8d2cfc20cdad (patch)
tree906959917e2562717aa503edee65d6462a6d5682 /Misc
parent4be0bc642e89939d9d9bf2559d92eafe9f0a0933 (diff)
downloadcpython-5c60bfcfbf2dd50cc40210771fdc8d2cfc20cdad.zip
cpython-5c60bfcfbf2dd50cc40210771fdc8d2cfc20cdad.tar.gz
cpython-5c60bfcfbf2dd50cc40210771fdc8d2cfc20cdad.tar.bz2
Patch #976880: add mmap .rfind() method, and 'end' paramter to .find().
Contributed by John Lenton.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS4
2 files changed, 5 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index 499b1d0..35cecee 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -395,6 +395,7 @@ Kip Lehman
Joerg Lehmann
Luke Kenneth Casson Leighton
Marc-Andre Lemburg
+John Lenton
Mark Levinson
William Lewis
Robert van Liere
diff --git a/Misc/NEWS b/Misc/NEWS
index 9e25b96..ce643ce 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1011,6 +1011,10 @@ Library
Extension Modules
-----------------
+- Patch 976880: ``mmap`` objects now have an ``rfind`` method that
+ works as expected. ``mmap.find`` also takes an optional ``end``
+ parameter.
+
- _winreg's HKEY object has gained __enter__ and __exit__ methods to support
the context manager protocol. The _winreg module also gained a new function
``ExpandEnvironmentStrings`` to expand REG_EXPAND_SZ keys.