python: add patches