fixing python sources and checkpoints on python.mk