Pope Pius XII
Humani Generis §19
Humani Generis: Concerning Some False Opinions Threatening to Undermine the Foundations of Catholic Doctrine
19 Although these things seem well said, still they are not free form error. It is true that Popes generally leave theologians free in those matters which are disputed in various ways by men of very high authority in this field; but history teaches that many matters that formerly were open to discussion, no longer now admit of discussion.
Source: Humani Generis (Vatican.va)