Change initialize_locals(steal=true) and _PyTuple_FromArraySteal to c… · python/cpython@7c0f498 · GitHub
Skip to content

Commit 7c0f498

Browse files
committed
Change initialize_locals(steal=true) and _PyTuple_FromArraySteal to consume the argument references regardless of whether they succeed or fail.
1 parent 5cc5442 commit 7c0f498

2 files changed

Lines changed: 50 additions & 45 deletions

File tree

Objects/tupleobject.c

Lines changed: 3 additions & 1 deletion

Python/ceval.c

Lines changed: 47 additions & 44 deletions

0 commit comments

Comments
 (0)