gh-104745: Limit starting a patcher more than once without stopping it (#126649)
Previously, this would cause an `AttributeError` if the patch stopped more than once after this, and would also disrupt the original patched object. --------- Co-authored-by: Peter Bierma <zintensitydev@gmail.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
R
Red4Ru committed
1e40c5ba47780ddd91868abb3aa064f5ba3015e4
Parent: 2e39d77
Committed by GitHub <noreply@github.com>
on 11/13/2024, 8:20:38 AM