From fad766d9c8742dde395073b340b3774e727fdbf6 Mon Sep 17 00:00:00 2001 From: pshem Date: Mon, 4 Mar 2019 14:21:42 +0000 Subject: [PATCH] Fix python3 crashing on sqlite import by using sqlite compiled without `MREMAP`(see https://github.com/cloudius-systems/osv/issues/184 and #62) --- python3x/module.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/python3x/module.py b/python3x/module.py index 2cafb787d..0c6fc1b73 100644 --- a/python3x/module.py +++ b/python3x/module.py @@ -1,4 +1,9 @@ from osv.modules import api +#For a proper interactive python terminal api.require('unknown-term') + +#For sqlite3 and help() +api.require('sqlite') + default = api.run(cmdline="--env=TERM=unknown /python3")