The Pali Cannon, composed in Sri Lanka concerning 600 BC and 100 BC, states that sexual relations, no matter whether of homosexual or of heterosexual nature, is forbidden during the monastic code, and states that any acts of sentimental homosexual intercourse (like masturbation and interfumeral sexual intercourse) isn't going to entail a punishment