Files
MINGW-packages/mingw-w64-python3/1701-disable-broken-gdbm-module.patch
Christoph Reiter 65d2264f48 python3: Disable broken gdbm module (#3064)
gdbm is broken and as a result breaks dbm/shelve (dbm.open fails)
Don't include it so the dbm.dumb backend is used instead,
like with the official CPython build.
2017-10-20 09:31:35 +03:00

12 lines
468 B
Diff

--- Python-3.6.3/setup.py.orig 2017-10-17 18:21:50.539998900 +0200
+++ Python-3.6.3/setup.py 2017-10-17 18:44:29.430072300 +0200
@@ -1315,7 +1315,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":