In the EU under human rights, discriminating based on political orientation is just as bad as discriminating based on race, gender, origin or religion. Religion and political beliefs are equivalent under the rule of law.
The UN also recognize discriminating based on political orientation under their human right declaration: "Everyone is entitled to all the rights and freedoms set forth in this Declaration, without distinction of any kind, such as race, colour, sex, language, religion, political or other opinion, national or social origin, property, birth or other status"