Skip to content

gh-111178: Avoid calling functions from incompatible pointer types in descrobject.c #112861

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 49 commits into from
Jan 2, 2024
Merged
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
e9c0f5f
Update descrobject.c
chrstphrchvz Dec 4, 2023
31f6c07
Update descrobject.c
chrstphrchvz Dec 4, 2023
b950d1a
Update descrobject.c
chrstphrchvz Dec 4, 2023
505a00c
Update descrobject.c
chrstphrchvz Dec 4, 2023
2e1b409
Update descrobject.c
chrstphrchvz Dec 5, 2023
b82d048
Update descrobject.c
chrstphrchvz Dec 5, 2023
eb6c22e
Make method_repr() compatible with reprfunc
chrstphrchvz Dec 7, 2023
60c0d7a
Make classmethoddescr_call() compatible with ternaryfunc
chrstphrchvz Dec 7, 2023
1de5a1a
Make getset_repr() compatible with reprfunc
chrstphrchvz Dec 8, 2023
8b57573
Make member_repr() compatible with reprfunc
chrstphrchvz Dec 8, 2023
d2f06e6
Make wrapperdescr_repr() compatible with reprfunc
chrstphrchvz Dec 8, 2023
4cd2e6d
Make wrapperdescr_call() compatible with ternaryfunc
chrstphrchvz Dec 8, 2023
f32c9e0
Make wrapper_repr() compatible with reprfunc
chrstphrchvz Dec 8, 2023
83df0df
Make wrapper_reduce() compatible with PyCFunction
chrstphrchvz Dec 8, 2023
a4c7f17
Make wrapper_hash() compatible with hashfunc
chrstphrchvz Dec 8, 2023
be0fb74
Make wrapper_dealloc() compatible with destructor
chrstphrchvz Dec 8, 2023
356c2fe
Make wrapper_objclass() compatible with getter
chrstphrchvz Dec 8, 2023
ec4ca04
Make wrapper_name() compatible with getter
chrstphrchvz Dec 8, 2023
9ebb68f
Make wrapper_qualname() compatible with getter
chrstphrchvz Dec 8, 2023
de99189
Make wrapper_text_signature() compatible with getter
chrstphrchvz Dec 8, 2023
9b43a8d
Make wrapper_doc() compatible with getter
chrstphrchvz Dec 8, 2023
32b8dfe
mappingproxy_dealloc(): less inconsistent parameter name
chrstphrchvz Dec 8, 2023
78419d6
descr_dealloc(): less inconsistent parameter name
chrstphrchvz Dec 8, 2023
97d3ee8
Make mappingproxy_getiter() compatible with getiterfunc
chrstphrchvz Dec 8, 2023
30cd173
Make mappingproxy_hash() compatible with hashfunc
chrstphrchvz Dec 8, 2023
fcce565
Make mappingproxy_str() compatible with reprfunc
chrstphrchvz Dec 8, 2023
776acd7
Make mappingproxy_repr() compatible with reprfunc
chrstphrchvz Dec 8, 2023
f4dfb12
Make mappingproxy_richcompare() compatible with richcmpfunc
chrstphrchvz Dec 8, 2023
80da821
Remove redundant cast of property_clear()
chrstphrchvz Dec 8, 2023
7b903ea
Make mappingproxy_contains() compatible with objobjproc
chrstphrchvz Dec 8, 2023
d646a9d
Make wrapper_call() compatible with ternaryfunc
chrstphrchvz Dec 8, 2023
75a4980
Make mappingproxy_reversed() compatible with PyCFunction
chrstphrchvz Dec 8, 2023
e96377d
Make mappingproxy_copy() compatible with PyCFunction
chrstphrchvz Dec 8, 2023
0002cba
Make mappingproxy_items() compatible with PyCFunction
chrstphrchvz Dec 8, 2023
057c059
Make mappingproxy_values() compatible with PyCFunction
chrstphrchvz Dec 8, 2023
57224d0
Make mappingproxy_keys() compatible with PyCFunction
chrstphrchvz Dec 8, 2023
071d2bc
Make mappingproxy_getitem() compatible with binaryfunc
chrstphrchvz Dec 8, 2023
65f0a90
Make mappingproxy_len() compatible with lenfunc
chrstphrchvz Dec 8, 2023
385dbfd
Make method_get_doc() compatible with getter
chrstphrchvz Dec 8, 2023
a0e0ae0
Make descr_get_qualname() compatible with getter
chrstphrchvz Dec 8, 2023
ff534a1
Make method_get_text_signature() compatible with getter
chrstphrchvz Dec 8, 2023
ae28dc1
Make member_get_doc() compatible with getter
chrstphrchvz Dec 8, 2023
547cbc0
Make getset_get_doc() compatible with getter
chrstphrchvz Dec 8, 2023
6360a46
Make wrapperdescr_get_doc() compatible with getter
chrstphrchvz Dec 8, 2023
e823bed
Make wrapperdescr_get_text_signature() compatible with getter
chrstphrchvz Dec 8, 2023
6c15c76
Make wrapperdescr_get() compatible with descrgetfunc
chrstphrchvz Dec 8, 2023
238724f
Make descr_reduce() compatible with PyCFunction
chrstphrchvz Dec 8, 2023
cb6f751
Need to update type in cast
chrstphrchvz Dec 8, 2023
dd64280
Make mappingproxy_get() compatible with _PyCFunctionFast
chrstphrchvz Dec 9, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading