Skip to content

Commit 6831ee7

Browse files
authored
Add a comment for the future
1 parent 318c4fd commit 6831ee7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Python/optimizer.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ uop_optimize(_PyInterpreterFrame *frame, _Py_CODEUNIT *instr,
109109
/* Returns 1 if optimized, 0 if not optimized, and -1 for an error.
110110
* If optimized, *executor_ptr contains a new reference to the executor
111111
*/
112+
// gh-137573: inlining this function causes stack overflows
112113
Py_NO_INLINE int
113114
_PyOptimizer_Optimize(
114115
_PyInterpreterFrame *frame, _Py_CODEUNIT *start,

0 commit comments

Comments
 (0)