Closed
Description
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