Python 2 interface: crash with sqllite3 module loaded