C API: PyConfig_Set() should update global variables (such as Py_InspectFlag) · Issue #153300 · python/cpython · GitHub
Skip to content

C API: PyConfig_Set() should update global variables (such as Py_InspectFlag) #153300

Description

@vstinner

PyConfig_Set() sets PyInterpreterState.config and sys attributes (such as sys.flags), but it doesn't set global variables (such as Py_InspectFlag). It can lead to inconsistencies in C code using these deprecated global variables.

Linked PRs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions