[PATCH] python: add the support for killpath