Skip to content

gh-148638: Parse PYTHON_LLTRACE/PYTHON_OPT_DEBUG as integer - #148636

Open
StepfenShawn wants to merge 2 commits into
python:mainfrom
StepfenShawn:parse-PYTHON_LLTRACE
Open

StepfenShawn wants to merge 2 commits into
python:mainfrom
StepfenShawn:parse-PYTHON_LLTRACE

Conversation

@StepfenShawn

@StepfenShawn StepfenShawn commented Apr 16, 2026 •

Copy link
Copy Markdown
Contributor

Parse the PYTHON_LLTRACE and PYTHON_OPT_DEBUG environment variables as integers using atoi() instead of only reading the first character.

Example

Before: PYTHON_LLTRACE=10 was interpreted as 1
After: PYTHON_LLTRACE=10 is correctly interpreted as 10

@StepfenShawn StepfenShawn changed the title Parse PYTHON_LLTRACE/PYTHON_OPT_DEBUG as integer gh-#148636: Parse PYTHON_LLTRACE/PYTHON_OPT_DEBUG as integer Apr 16, 2026
@StepfenShawn StepfenShawn changed the title gh-#148636: Parse PYTHON_LLTRACE/PYTHON_OPT_DEBUG as integer gh-148638: Parse PYTHON_LLTRACE/PYTHON_OPT_DEBUG as integer Apr 16, 2026
@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review stale Stale PR or inactive for long period of time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant