Skip to content
Snippets Groups Projects
Commit 8c1d23a0 authored by Damien George's avatar Damien George
Browse files

py: Modify bytecode "with" behaviour so it doesn't use any heap.

Before this patch a "with" block needed to create a bound method object
on the heap for the __exit__ call.  Now it doesn't because we use
load_method instead of load_attr, and save the method+self on the stack.
parent ede0f3ab
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment