python: add some more descriptive comments, use lamb instead of default lamb