Only if the heretic is repentant. Paul did not coddle heretics, he anathamatized them, which is worse than execution.
Not when they repent and they are allowed back in after that, it is not. Execution is where there is no chance of repenting and coming back to the assembly.
Is that about heresy, or personal offense?
In context to His words about the little ones that go astray, it should also involve heresy. If it was personal offense, would not the church by scripture, tell the offended person to forgive as Christ set the example?
Luke 23: 33 And when they were come to the place, which is called Calvary, there they crucified him, and the malefactors, one on the right hand, and the other on the left. 34 Then said Jesus, Father, forgive them; for they know not what they do. And they parted his raiment, and cast lots. 35 And the people stood beholding. And the rulers also with them derided him, saying, He saved others; let him save himself, if he be Christ, the chosen of God.
1 Peter 2:19 For this is thankworthy, if a man for conscience toward God endure grief, suffering wrongfully. 20 For what glory is it, if, when ye be buffeted for your faults, ye shall take it patiently? but if, when ye do well, and suffer for it, ye take it patiently, this is acceptable with God. 21 For even hereunto were ye called: because Christ also suffered for us, leaving us an example, that ye should follow his steps: 22 Who did no sin, neither was guile found in his mouth: 23 Who, when he was reviled, reviled not again; when he suffered, he threatened not; but committed himself to him that judgeth righteously: 24 Who his own self bare our sins in his own body on the tree, that we, being dead to sins, should live unto righteousness: by whose stripes ye were healed. 25 For ye were as sheep going astray; but are now returned unto the Shepherd and Bishop of your souls.
Granted, the reference below is about not going before the court of law but before the church, but in the last two verses below, when the offender refuses to repent, I have to wonder if the offended party is to suffer being defrauded even though the offender is excommunicated by the church anyway, because it was evident that he or she had defrauded the offended party, but if it is not that evident, then the offended party has to forgive and leave the judgment to God as He knows everything.
1 Thessalonians 4:6 That no man go beyond and defraud his brother in any matter: because that the Lord is the avenger of all such, as we also have forewarned you and testified.
1 Corinthians 6:1Dare any of you, having a matter against another, go to law before the unjust, and not before the saints? 2 Do ye not know that the saints shall judge the world? and if the world shall be judged by you, are ye unworthy to judge the smallest matters? 3 Know ye not that we shall judge angels? how much more things that pertain to this life? 4 If then ye have judgments of things pertaining to this life, set them to judge who are least esteemed in the church. 5 I speak to your shame. Is it so, that there is not a wise man among you? no, not one that shall be able to judge between his brethren? 6 But brother goeth to law with brother, and that before the unbelievers. 7 Now therefore there is utterly a fault among you, because ye go to law one with another. Why do ye not rather take wrong? why do ye not rather suffer yourselves to be defrauded? 8 Nay, ye do wrong, and defraud, and that your brethren. 9 Know ye not that the unrighteous shall not inherit the kingdom of God? Be not deceived: neither fornicators, nor idolaters, nor adulterers, nor effeminate, nor abusers of themselves with mankind, 10 Nor thieves, nor covetous, nor drunkards, nor revilers, nor extortioners, shall inherit the kingdom of God. 11 And such were some of you: but ye are washed, but ye are sanctified, but ye are justified in the name of the Lord Jesus, and by the Spirit of our God. 12 All things are lawful unto me, but all things are not expedient: all things are lawful for me, but I will not be brought under the power of any.
Repentance being to change his mind and give up the heresy for the sake of the sheep.
Calvin using a court system to force repentance on a heretic or else death is not what Jesus taught.
This does not refer to church-wide offense, but to local offense.
Calvin arranged for Servitus to be arrested for heresy as he did warn him not to come for that reason. Hardly a local offense.