Python bindings: fixed clearing inputs