another round of python call cleanups