PEP 707: A simplified signature for __exit__ and __aexit__

The SC rejected this PEP. For simplicity, here’s the message I posted on the issue asking for pronouncement:

We discussed the PEP and have decided to reject it. Our thinking was the magic and risk of potential breakage didn’t warrant the benefits. We are totally supportive, though, of exploring a potential context manager v2 API or __leave__.

1 Like