python: move Python idl to work with monitor_cond