Special equipment: a deep-frying thermometer
Pour some oil into a heavy-bottomed pot and heat over medium heat until a deep-frying thermometer registers 400 degrees F.
Cut the pastry scraps into thin strips. Drop the strips into the hot oil, in batches if necessary, and fry for about 30 seconds, flipping. Drain on a paper towel-lined plate and sprinkle with confectioners' sugar.