I could empty an AR-15 w/30 rounds from inside an airliner flying at 30K feet, reload, do it again, and still not depressurize the cabin to any serious extent as long as no windows were blown out. I serviced/repaired aircraft for a living.
I designed and coded the software for cabin pressurization systems used in commercial aircraft. BlueStrat is correct in all details, and if you know a little engineering you can easily convince yourself.
The cabin pressurization valve is an inflatable balloon (of sorts) sitting in an 8" diameter hole, and there are two of them. The system will easily compensate for even a large number of bullet holes in the body - 1" holes are much smaller than the area the valve system has to work with.
The pressure differential between the inside and outside can be at most 15 pounds per square inch(*). That means that a 1" hole would only present 15 lbs of force pressure on an object pressing against it, which can be easily overcome by a person. Bullet holes are much smaller than 1" diameter. Further away and the effect is negligible.
A window being shot out would not suck out a passenger. From experience, when an 8" diameter hole (the pressurization valve) is suddenly uncovered, it doesn't pull very hard on people standing near it and the pull ends almost instantly. Force isn't present for any length of time, and since F=M*A and V = A*T, you end up with very little velocity.
Sorry folks, Goldfinger doesn't get sucked across the cabin and forced through the blown-out window, and Pussy Galore doesn't have to pull the plane out of a tailspin.
(*) To reduce stress on the airframe, the cabin is depressurized as the aircraft reaches cruising altitude.This reduces the maximum differential by about 1/3.