It is definitely more lenient.
But one of the points in the Foucault book jMyles mentioned is that the leniency of imprisonment didn't come about because we're somehow morally superior than earlier societies, it's because it's the most efficient way so far devised for the state to exert its power over a human body.
Someone please correct me if I'm misinterpreting.
If you've read anything on it, exactly what were they using for punishment then? Other things I've read of in various places include execution, the stocks, other forms of physical punishments. IIRC, some Islamic societies still recommend cutting the hands off of thieves. All of this stuff makes imprisonment seem rather sanitary and lenient by comparison.