Skip to content

Commit ff3c7f4

Browse files
Update Python/ceval.c
Co-authored-by: Peter Bierma <[email protected]>
1 parent 847bd7b commit ff3c7f4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Python/ceval.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -912,8 +912,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
912912
int frame_lasti = _PyInterpreterFrame_LASTI(frame);
913913
PyObject *lasti = PyLong_FromLong(frame_lasti);
914914
if (lasti == NULL) {
915-
// gh-134163
916-
// If we can't allocate memory for lasti during exception handling,
915+
// gh-134163: If we can't allocate memory for lasti during exception handling,
917916
// this likely means we're in a severe memory shortage situation.
918917
// Instead of going back to exception_unwind (which would cause
919918
// infinite recursion), directly exit to let the original exception

0 commit comments

Comments
 (0)