To make it compatible with sub-interpreters it needs to be allocated on heap rather than static storage. <!-- gh-linked-prs --> ### Linked PRs * gh-101798 <!-- /gh-linked-prs -->