bpo-33265: use an actual method instead of a method-like function in ExitStack (GH-6456)
`MethodType` has the exact semantics that `ExitStack` needs, so we can avoid creating a Python level closure.
Showing
Please register or sign in to comment