What a difference a president makes:
It is one of ironies of our present warped climate that Petraeus will face far less criticism from the media and politicians than during 2007–8 (there will be no more “General Betray Us” ads or “suspension of disbelief” ridicule), because his success this time will reflect well on Obama rather than George Bush. It is a further irony that Obama is surging with Petraeus despite not long ago declaring that such a strategy and such a commander were failures in Iraq. And it is an even further irony that he is now rightly calling for “common purpose” when — again not long ago, at a critical juncture in Iraq — Obama himself, for partisan purposes on the campaign trail, had no interest in the common purpose of military success in Iraq.
I've heard the president described as a pragmatist. I guess he could be considered so, if you consider it pragmatic to attack your political enemies and cover your own butt, the country be damned. I, however, don't consider that pragmatic--I consider it hyper-partisan and dangerous.
I hope General Petraeus can turn things around in Afghanistan. If that reflects well on President Obama, so be it--winning the war is more important that politics.