mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
protect this call, too
This commit is contained in:
parent
f73813a8bb
commit
f235989e0c
1 changed files with 1 additions and 1 deletions
|
@ -627,8 +627,8 @@ t_bootstrap(void *boot_raw)
|
||||||
PyFile_WriteObject(boot->func, file, 0);
|
PyFile_WriteObject(boot->func, file, 0);
|
||||||
else
|
else
|
||||||
PyObject_Print(boot->func, stderr, 0);
|
PyObject_Print(boot->func, stderr, 0);
|
||||||
PyErr_Restore(exc, value, tb);
|
|
||||||
PySys_WriteStderr("\n");
|
PySys_WriteStderr("\n");
|
||||||
|
PyErr_Restore(exc, value, tb);
|
||||||
PyErr_PrintEx(0);
|
PyErr_PrintEx(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue