python: python fixes