Here the Apostle mentions the persons to whom the use of prophecy is forbidden. In regard to this he does two things: first, he shows to whom the use of prophecy is forbidden; secondly, he removes an objection (v. 35). In regard to the first he does two things: first, he mentions the command to forbid; secondly he gives a reason for this (v. 34b).
He says, therefore: I will that men use the gift of prophecy in this manner, but I do not want women to speak in the church, so that the women should keep silence in the church: "I permit no woman to teach or to have authority over men" (1 Tim 2:12).... And Chrysostom assigns the reason for this, saying: woman has spoken once and subverted the entire world. But on the other hand it seems that many women are recorded to have prophesied, as the Samaritan woman (Jn. 4:39) and Anna, the wife of Phanuel (Lk 2:36) and Deborah (Jg 4:4) and Huldah, the prophetess (2 Kgs 22:14) and the daughter of Philip the evangelist (Ac 21:9). Above, it also says (11:5): "Any woman who prays or prophesies with her head unveiled dishonors her head." The answer is that there are two things in prophecy, namely, revelation and its manifestation; but women are not excluded from revelation, for many things are revealed to them as to men. But manifestation is of two kinds: one is public and from this they are excluded; the other is private and this is permitted to them, because it is not preaching but manifesting.
He assigns the reason for this, saying: for they are not permitted to speak, namely, by the authority of the Church, but their function is to be subject to men. Hence, since teaching implies prelacy and presiding, it is not suited to those who are subjects. The reason they are subject and not in the forefront is that they are deficient in reasoning, which is especially necessary for those who preside. Therefore, the Philosopher says in his Politics that corruption of rule occurs, when the rule comes to women.
Source: Commentary on 1 Corinthians