]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
backport tim_one's checkin of
authorMichael W. Hudson <mwh@python.net>
Fri, 8 Mar 2002 13:39:25 +0000 (13:39 +0000)
committerMichael W. Hudson <mwh@python.net>
Fri, 8 Mar 2002 13:39:25 +0000 (13:39 +0000)
commitdb1752660157323a7c88a507a754726898eb1b97
tree995e96e5c5e5ddd3cfeedb9acc9dfa61f7514128
parentb74a9623efa849417f66e3a856a24e766a809a59
backport tim_one's checkin of
    revision 1.20 of test_mmap.py

SF bug 515943:  searching for data with \0 in mmap.
mmap_find_method():  this obtained the string to find via s#, but it
ignored its length, acting as if it were \0-terminated instead.

Someone please run on Linux too (the extended test_mmap works on Windows).

Bugfix candidate.
Lib/test/test_mmap.py