Skip to content

Remove Py_BUILD_CORE_MODULE and Py_BUILD_CORE_MODULE in rotatingtree.c #116181

Closed
@aisk

Description

@aisk

Feature or enhancement

Proposal:

Currently, we require Py_Mutex to isolate the states of pseudo random generator in rotatingtree.c, thus the Py_BUILD_CORE_MODULE was introduced in #115301, but we should refrain from using Py_BUILD_CORE_MODULE or Py_BUILD_CORE_BUILTIN to build non-builtin stdlib modules.

Therefore, we should either remove them once Py_Mutex becomes public or explore alternative solutions to address this issue.

Has this already been discussed elsewhere?

Previous discussion: #115301 (comment)

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions