The usual rule is to avoid discussing either of these topics. If someone tries to start a conversation on either topic, change the subject immediately.
Generally speaking, aviod these topics unless you know that the other person agrees with whatever opinion you would express, unless you don't care if you are invited again.