Merge Python changes from Lambda Wars.