lol, i ain't never had a dog or a cat try to eat my snake..... hell if the snake gets intimidated by either it will bite them, and it will hurt... all snake have teeth.... constrictors have looooooots of needle sharp/sized teeth, and they curve back, so pulling away drives them in deeper (which is the natural reaction)

let the cat or dog get bit by that snake once and they won't want to ever get near it again lol....