Wrapping prctl for python