https://github.com/python/cpython/commit/d0f7f5c41d71758c59f9372a192e927d73cf7c27
commit: d0f7f5c41d71758c59f9372a192e927d73cf7c27
branch: main
author: Michael Droettboom <[email protected]>
committer: markshannon <[email protected]>
date: 2024-01-26T10:10:03Z
summary:
gh-114312: Fix rare event counter tests on aarch64 (GH-114554)
files:
M Modules/_testinternalcapi.c
diff --git a/Modules/_testinternalcapi.c b/Modules/_testinternalcapi.c
index 2c32c691afa583..c4a648a1816392 100644
--- a/Modules/_testinternalcapi.c
+++ b/Modules/_testinternalcapi.c
@@ -1642,11 +1642,11 @@ get_rare_event_counters(PyObject *self, PyObject *type)
return Py_BuildValue(
"{sksksksksk}",
- "set_class", interp->rare_events.set_class,
- "set_bases", interp->rare_events.set_bases,
- "set_eval_frame_func", interp->rare_events.set_eval_frame_func,
- "builtin_dict", interp->rare_events.builtin_dict,
- "func_modification", interp->rare_events.func_modification
+ "set_class", (unsigned long)interp->rare_events.set_class,
+ "set_bases", (unsigned long)interp->rare_events.set_bases,
+ "set_eval_frame_func", (unsigned
long)interp->rare_events.set_eval_frame_func,
+ "builtin_dict", (unsigned long)interp->rare_events.builtin_dict,
+ "func_modification", (unsigned
long)interp->rare_events.func_modification
);
}
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]