The Pali Cannon, published in Sri Lanka amongst 600 BC and 100 BC, states that sexual relations, irrespective of whether of homosexual or of heterosexual nature, is forbidden inside the monastic code, and states that any functions of sentimental homosexual sexual intercourse (including masturbation and interfumeral intercourse) doesn't entail a pun