Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Parse PYTHON_LLTRACE as an integer
  • Loading branch information
StepfenShawn authored Apr 16, 2026
commit 663659ed35026a5e11029c2353cd188db2042941
2 changes: 1 addition & 1 deletion Python/ceval.h
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ maybe_lltrace_resume_frame(_PyInterpreterFrame *frame, PyObject *globals)
// Can also be controlled by environment variable
char *python_lltrace = Py_GETENV("PYTHON_LLTRACE");
if (python_lltrace != NULL && *python_lltrace >= '0') {
lltrace = *python_lltrace - '0'; // TODO: Parse an int and all that
lltrace = atoi(python_lltrace);
}
}
if (lltrace >= 5) {
Expand Down
Loading