run: add partial function application helper
run: add partial function application helper

This adds a small helper for performing partial function
application in python. We will need this for the dill module
in the next commits.


Former-commit-id: 646faf6e8f6beab94e14c22079f32a22c763c0db
Former-commit-id: 881134ea51f5018b72096c7db0382f0c0954892d [formerly dd1e551c87b2ebde7602a6ee620163d6a81e8d39] [formerly 0f58c64129fe01a076c59085b9f04903b6bf926c [formerly 0b6678e5c7441557611f22cdcf5cddaf6d205159]]
Former-commit-id: 18ac33b93a7b9bef5f93e86f553a511f6961ff09 [formerly bb568e643a6da34d18515fb72fc73309511f411d]
Former-commit-id: d5998ee88c43c32df8ceda33cb775cfae299be2a
PolyJIT/benchbuild,PolyJIT/benchbuild,PolyJIT/benchbuild,PolyJIT/benchbuild