I can tomato soup that has flour in it, and I've had it last in good shape for up to 3 years. You can buy condensed canned milk! I think as long as you cook it to a high enough temp when canning, all of the bacteria is killed.
Politicians are like diapers, they need to be changed often, and for the same reason.