. . . "No penalty shall be imposed, except for acts punishable by the law, while they are committed." .