When making a pie, you almost always have to make holes in the dough with a fork. This is called docking.
What is the exact reason for doing this? Are there kinds of pastry (puff, short crust, flaky) where this isn't necessary? Do you only need to do it when blind-baking? When you're using baking weights, does it still make a difference?