There is no reason to believe that restricting food will make a ball python live longer. It simply makes them much smaller animals as adults. Ball pythons continue to grow throughout their lifespan, but the rate of growth slows dramatically once they're around 3 years old.

This is the season when most ball pythons instinctively eat more. He may be hungry. In combination with going into shed, that could certainly result in crankiness.