gdbm is broken and as a result breaks anydbm/shelve (anydbm.open fails). Don't include it so the dumbdbm backend is used instead, like with the official CPython build.
12 lines
470 B
Diff
12 lines
470 B
Diff
--- Python-2.7.14/setup.py.orig 2017-10-17 19:40:39.480898400 +0200
|
|
+++ Python-2.7.14/setup.py 2017-10-17 19:46:31.369088600 +0200
|
|
@@ -1348,7 +1352,7 @@
|
|
if dbm_args:
|
|
dbm_order = [arg.split('=')[-1] for arg in dbm_args][-1].split(":")
|
|
else:
|
|
- dbm_order = "ndbm:gdbm:bdb".split(":")
|
|
+ dbm_order = []
|
|
dbmext = None
|
|
for cand in dbm_order:
|
|
if cand == "ndbm":
|