For one of the male giant snakes that I wanted to keep strictly as a pet I would have a talk with my vet about having him neutered (the snake not the vet). Yes I realize that it's invasive surgery and it won't be cheap, BUT these snakes can easily live for decades and that cost would be defrayed over the snake's life by not having to deal with cases of "smash face", never mind the potential that always exists for a male in the mood to decide that you are merely an obstacle to be removed in his quest for a female. IMO it's no different than having a male horse that isn't worth breeding gelded.