This is of course a subjective question, so I can only respond with my own opinion.
In the modern world, where both men and women can perform official functions, and many people choose not to be married, it should no longer make a difference who the partner of a politician is, and the politicians should be judged only for their own actions.