Though I know you are only joking, but the snake probably eats only a couple of times a month, and can survive for a long time also without eating, so it would need to be a long forgetfulness... The hamster might die of hunger much, much sooner than the snake. So, that back-up supply of food could turn rotten pretty quick.