python: move to builtin python mode