8000 gh-106078: Move static objects related to `CONTEXTVAR` to the decimal module global state by CharlieZhao95 · Pull Request #106395 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-106078: Move static objects related to CONTEXTVAR to the decimal module global state #106395

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Jul 8, 2023
Prev Previous commit
Next Next commit
Update Modules/_decimal/_decimal.c
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
  • Loading branch information
CharlieZhao95 and erlend-aasland authored Jul 7, 2023
commit 3df61b80dc3bd2348427d60547a8e52129039873
2 changes: 1 addition & 1 deletion Modules/_decimal/_decimal.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

struct PyDecContextObject;

typedef struct _decimal_state {
typedef struct {
PyTypeObject *PyDecContextManager_Type;
PyTypeObject *PyDecContext_Type;
PyTypeObject *PyDecSignalDictMixin_Type;
Expand Down
0