Some personal experience: in philosophy grad school, I had no idea where in contemporary politics my professors stood. I had only a slim idea of the politics of fellow grad students. As an academic, I have almost no idea what the politics my colleagues are, although I work with them very closely. And although I have served on many hiring committees, I never recall once knowing anything about the politics of a job candidate.
(Political philosophy is different: much of that may be revealed, without ever indicating who one voted for or what party one supports.)
Because we discuss theological issues, I’ve had a pretty good idea of people’s religions, but I don’t believe that knowledge has had any discriminatory consequences.