I disagree. One prime example is the disasterous (for freedom of speech) campaign finance "reform." The President even said it was a bad idea and that he thought it would be overturned by the courts, even as he was signing it. That was nakedly political.
He signed it because they would have overridden his veto.
Good point. I did think about that, but by the time I did that, it was too late. I should have said they don't do national security things for political reasons.