Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 55bf6ac

Browse files
Update Modules/_testexternalinspection.c
Co-authored-by: Erlend E. Aasland <[email protected]>
1 parent 2a9c43f commit 55bf6ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Modules/_testexternalinspection.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,7 @@ get_stack_trace(PyObject* self, PyObject* args)
578578
return NULL;
579579
}
580580

581+
// No Python frames are available for us (can happen at tear-down).
581582
if (address_of_thread != NULL) {
582583
void* address_of_current_frame;
583584
(void)read_memory(

0 commit comments

Comments
 (0)