Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d678f8 commit bc566b0Copy full SHA for bc566b0
2 files changed
Lib/dbm/__init__.py
@@ -166,7 +166,7 @@ def whichdb(filename):
166
return ""
167
168
# Check for GNU dbm
169
- if magic == 0x13579ace:
+ if magic in (0x13579ace, 0x13579acd, 0x13579acf):
170
return "dbm.gnu"
171
172
# Later versions of Berkeley db hash file have a 12-byte pad in
Misc/NEWS
@@ -55,6 +55,8 @@ Library
55
- Issue #11657: Fix sending file descriptors over 255 over a multiprocessing
56
Pipe.
57
58
+- Issue #13007: whichdb should recognize gdbm 1.9 magic numbers.
59
+
60
- Issue #12213: Fix a buffering bug with interleaved reads and writes that
61
could appear on BufferedRandom streams.
62
0 commit comments