It should be noted that the repeal and legalization (not mere 'decriminalization') of same-sex relations in pre-Stalinist USSR was a deliberate and conscious decision of the Soviet state. Many Marxist revisionists (Marxist-Leninists/Stalinists) say that same sex activity was legal only by the virtue of the total tossing away of Napoleonic law. If you search this topic on RevLeft you can see this argument being forwarded, along with the nudge-nudge-wink-wink undertones that homosexuality is a 'western issue.'
Laws against sodomy and same sex relations were done away with by the doing away with Napoleonic law. But it was also conscious policy on the part of the Russia. The USSR Commissar of Health, N.A. Semashko and other Bolsheviks visited advocates of legalization of homosexuality in Berlin and spoke in favor of it on behalf of Russia. I don't have any direct quotes or sources but a google search should give you enough.
In other words, paraphrasing Marx, reciting that capitalism has lived through a progressive phase and is today decadent, that it is a transitory economic form like all those that have preceded it, and that it enters the decadent phase when it is no longer able to develop the material productive forces which come into conflict with the existing relations of production, is absolutely not sufficient, neither from a political nor an analytical point of view.
- Fabio Damen