Kaydet (Commit) d256ca12 authored tarafından Jesus Cea's avatar Jesus Cea

Close #13007: whichdb should recognize gdbm 1.9 magic numbers

üst 607cc361
...@@ -91,7 +91,7 @@ def whichdb(filename): ...@@ -91,7 +91,7 @@ def whichdb(filename):
return "" return ""
# Check for GNU dbm # Check for GNU dbm
if magic == 0x13579ace: if magic in (0x13579ace, 0x13579acd, 0x13579acf):
return "gdbm" return "gdbm"
# Check for old Berkeley db hash file format v2 # Check for old Berkeley db hash file format v2
......
...@@ -76,6 +76,8 @@ Library ...@@ -76,6 +76,8 @@ Library
- Issue #12326: sys.platform is now always 'linux2' on Linux, even if Python - Issue #12326: sys.platform is now always 'linux2' on Linux, even if Python
is compiled on Linux 3. is compiled on Linux 3.
- Issue #13007: whichdb should recognize gdbm 1.9 magic numbers.
- Issue #9173: Let shutil._make_archive work if the logger argument is None. - Issue #9173: Let shutil._make_archive work if the logger argument is None.
- Issue #12650: Fix a race condition where a subprocess.Popen could leak - Issue #12650: Fix a race condition where a subprocess.Popen could leak
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment