The Pali Cannon, composed in Sri Lanka amongst 600 BC and one hundred BC, states that sexual relations, regardless of whether of homosexual or of heterosexual character, is forbidden while in the monastic code, and states that any functions of soft homosexual sex (including masturbation and interfumeral sexual intercourse) does not entail a punishm