In fact the new legislation for Enhanced Security Measures does not allow handguns in the cockpit. The media has been quick to say that pilots will be allowed to arm themselves, but the FAA has been directed to "develop procedures and authorize equipment for pilots and other members of the flight crew to use to defend an aircraft against acts of criminal violence or aircraft piracy." The FAA will not allow pilots to carry guns, but they will allow a Tazer or mace to be required equipment in the cockpit. You will never see the FAA allow pilots to carry guns. Period.