pub fn python_module() -> Result<PathBuf>
Python callers use the same transactional implementation instead of a task-local copy.