py: some cleanup