We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad78398 commit ae51767Copy full SHA for ae51767
Python/optimizer.c
@@ -191,6 +191,8 @@ _PyOptimizer_Optimize(
191
if (exit != NULL) {
192
exit->executor = executor;
193
} else {
194
+ // An executor inserted into the code object now has a strong reference
195
+ // to it from the code object. Thus, we don't need this reference anymore.
196
Py_DECREF(executor);
197
}
198
interp->compiling = false;
0 commit comments