Skip to content

Commit

Permalink
Fix python3 crashing on sqlite import
Browse files Browse the repository at this point in the history
by using sqlite compiled without `MREMAP`(see cloudius-systems/osv#184 and cloudius-systems#62)
  • Loading branch information
pshem committed Mar 4, 2019
1 parent 6cac2e6 commit fad766d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python3x/module.py
Original file line number Diff line number Diff line change
@@ -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")

0 comments on commit fad766d

Please sign in to comment.