This issue is used to track the PRs split from gh-103092. Isolate the _decimal extension module by:
- Establish a global module state and convert static types to heap types
- Move other global static variables to the global module state(possibly multiple PRs)
- Convert the global module state to true module state
See original issue Isolate Stdlib Extension Modules and PEP-687 for details.
Linked PRs
This issue is used to track the PRs split from gh-103092. Isolate the
_decimalextension module by:See original issue Isolate Stdlib Extension Modules and PEP-687 for details.
Linked PRs
_decimaltypes to heap types #106079DecimalExceptionto global state #106301context templateto decimal module global state #106346CONTEXTVARto the decimal module global state #106395decimal#107524