Sure:
1) in the US military. if you're openly gay you're kicked out of the military
2) in Iran. if you're openly gay you're arrested and killed by the judiciary
it's basically the same shit, according to Sam.
Hmm do you have evidence of homosexuals in Iran being executed for coming out?
From what I have read, although it is illegal by law (established in 1979, after the overthrow of the Shah), it is not put into practice.
As for the two teenage boys that are bandied around this forum.
In 2005, two Iranian teenagers, Mahmoud Asgari and Ayaz Marhoni, were both sentenced to death for what some human rights groups claimed was "consensual gay sex" while Iranian authorities asserted that the two were part of a criminal gang that raped a thirteen-year-old boy. Again, the government claims were disputed by international organizations and progressive domestic groups. Based on information available at the time, Paula Ettelbrick, executive director of the International Gay & Lesbian Human Rights Commission, said "It was not a gay case," taking issue with the Human Rights Campaign’s statement that was quick to condemn the execution as anti-gay. "We would welcome HRC’s involvement in demanding that our government speak out on human rights violations. It was just the wrong case,” she said.[11]
Rights are constrained, but they are in almost all societies in the East, including India (where homosexuality is also illegal by law).