Primary election on the left: A risky gamble for Hollande?

In a stunning reversal, France's Socialist Party has announced that it will designate its candidate for the 2017 presidential election through a primary contest. For the first time ever, a sitting president may submit himself to a primary election. Is the surprise move by François Hollande a political masterstroke or is it simply a crazy gamble?