Skip to content

[GR-80905] Set sys.flags.debug to 0 by default - #1248

Merged
graalvmbot merged 2 commits into
masterfrom
msimacek/GR-80905-Github_PR_1219_Set_sys.flags.debug_to_0_by_default
Oct 29, 2026
Merged

graalvmbot merged 2 commits into
masterfrom
msimacek/GR-80905-Github_PR_1219_Set_sys.flags.debug_to_0_by_default

Conversation

@graalvmbot

Copy link
Copy Markdown
Collaborator

No description provided.

hippi345 and others added 2 commits October 17, 2026 01:07
CPython reports sys.flags.debug as 0 unless -d is given. GraalPy
was setting it from the inverse of PythonOptimizeFlag, so the
default value was 1.

Fixes #1213

Signed-off-by: hippi345 <13539685+hippi345@users.noreply.github.com>
@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Oct 29, 2026
@graalvmbot
graalvmbot merged commit a3009f9 into master Oct 29, 2026
13 of 17 checks passed
@graalvmbot
graalvmbot deleted the msimacek/GR-80905-Github_PR_1219_Set_sys.flags.debug_to_0_by_default branch October 29, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants