I'm in France - albeit not Paris - and the gouvernement has been threatening tougher localized measures like these for a while.
For those wondering about how the measures are enforced : the police and the military have more power here and I get the impression that they are generally treated with so much more respect than in the UK...
Also, these measures are generally being well received by the general public. Some areas in Paris were overcrowded this week-end which is bound to contribute to spreading the virus and overall, people in France understand this. It may be unpleasant for a few weeks, but it seems to be accepted that the individual "sacrifices" are worth it in order to save lives and help hospital staff who really have it tough at the moment.