various python fixes to vim