Early Marxists tended to associate homosexuality with degeneracy, simply because, even though they cast aside religion, there were still plenty of prejudices. Hence why Engels commented to Marx that they were "lucky" too old to have to pay "physical tribute to the victors" in the future society where homosexuality was legal.
Before Stalin's clique rose to power the bolsheviks had some pretty fucked views about homosexuality but it was a conscious decision to make it legal, i mention this only to preempt the inevitable apologism to come of 'the bolsheviks didn't really make homosexuality legal they just abolished the czarist legal code'
"[Soviet legislation] declares the absolute non-interference of the state and society into sexual matters, so long as nobody is injured and no one’s interests are encroached upon. Concerning homosexuality, sodomy, and various other forms of sexual gratification, which are set down in European legislation as offences against morality--Soviet legislation treats these exactly as so-called 'natural' intercourse. All forms of sexual intercourse are private matters." - Dr. Grigorii Batkis (director Moscow Institute of Social Hygiene), The Sexual Revolution in Russia, 1923. [Emphasis in original]
That doesn't invalidate the fact that yeah, they simply abolished the Tsarist legal code. A pamphlet by a professor doesn't mean that homosexuality was recognized as equal before the law, just that it wasn't a criminal act because there was nothing in penal law about it being such. All the Soviet government had to do was amend the penal code and bam, homosexual acts became illegal again.
Also, to answer another guy in the thread, restricting abortion was done to increase the population, not restricting homosexuality. The position on homosexuals wasn't "damn you gay people, put your penises where it counts," it was "we must find these homosexuals and arrest them for posing serious harm to children and for generally being involved in anti-Soviet activities."
Obviously such views reflect prejudice, but that is indeed how the vast majority of people across the world thought 70 years ago.
Now, in what way then did the Party in Stalin's time differ from that of 1917 who abolished the illegal status of homosexuality?
Well, considering that abortion was explicitly legalized while being called an "evil" that socialism would eventually render unnecessary, I assume people were disappointed that gays didn't stop being gay. I don't think homosexuality somehow represented an obstacle that the "Stalinist bureaucracy" had to illegalize in order to assume total control over anything. Trotsky never mentioned the illegalization of homosexuality (though he did have many justified words against restricting abortion), and at any rate the GDR (a "deformed worker's state" according to Trots) apparently decriminalized homosexual acts in the late 60's/early 70's, which fits with it being the most "Westernized" of the Eastern Bloc states.
Meanwhile in Albania male homosexuals were seen as the horrible exploiters of women in tribal regions while lesbians were seen as a reaction to that, thus male homosexuality was outlawed while lesbianism was explicitly not illegal (and this was mentioned in the penal code, no less) on the basis of "positive discrimination" in order to put an end to centuries of inequality between men and women. So yeah, different times and all that.
* h0m0revolutionary: "neo-liberalism can deliver healthy children, it can educate them, it can feed them, it can clothe them and leave them fully contented."
* rooster: "Supporting [anti-imperialism] is reactionary. How is any nation supposed to stand up [to] the might of the US anyway?"
* nizan: "Fuck your education is empowerment bullshit, education is alienation, nothing more. You indulge in a dying prestige for a role in a bureaucratic spectacle deserving of nothing beyond contempt."
* Alexios: "To the Board Administration: Ismail [...] needs to be eliminated from this forum."