diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2023-03-07 02:40:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-07 02:40:09 (GMT) |
commit | 8606697f49dc58ff7e18147401ac65a09c38cf57 (patch) | |
tree | dea36ac4b586c474ddb97ab9d25e02490a8b8ab0 /Python/intrinsics.c | |
parent | f9cdeb7b99d408a2e884101ede576952510bcc9b (diff) | |
download | cpython-8606697f49dc58ff7e18147401ac65a09c38cf57.zip cpython-8606697f49dc58ff7e18147401ac65a09c38cf57.tar.gz cpython-8606697f49dc58ff7e18147401ac65a09c38cf57.tar.bz2 |
gh-90110: Fix the c-analyzer Tool (#102483)
Some incompatible changes had gone in, and the "ignore" lists weren't properly undated. This change fixes that. It's necessary prior to enabling test_check_c_globals, which I hope to do soon.
Note that this does include moving last_resort_memory_error to PyInterpreterState.
https://github.com/python/cpython/issues/90110
Diffstat (limited to 'Python/intrinsics.c')
-rw-r--r-- | Python/intrinsics.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/intrinsics.c b/Python/intrinsics.c index 9e90ef3..cca29d8 100644 --- a/Python/intrinsics.c +++ b/Python/intrinsics.c @@ -199,7 +199,7 @@ list_to_tuple(PyThreadState* unused, PyObject *v) return _PyTuple_FromArray(((PyListObject *)v)->ob_item, Py_SIZE(v)); } -instrinsic_func1 +const instrinsic_func1 _PyIntrinsics_UnaryFunctions[] = { [0] = no_intrinsic, [INTRINSIC_PRINT] = print_expr, @@ -221,7 +221,7 @@ prep_reraise_star(PyThreadState* unused, PyObject *orig, PyObject *excs) return _PyExc_PrepReraiseStar(orig, excs); } -instrinsic_func2 +const instrinsic_func2 _PyIntrinsics_BinaryFunctions[] = { [INTRINSIC_PREP_RERAISE_STAR] = prep_reraise_star, }; |