Skip to content
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

gh-111178: Docs: fix traverseproc, inquiry, and destructor parameters in slot typedefs table #112742

Merged
merged 3 commits into from
Dec 6, 2023

Conversation

chrstphrchvz
Copy link
Contributor

@chrstphrchvz chrstphrchvz commented Dec 5, 2023

In the slot typedefs table, the parameter of destructor and inquiry, and the first parameter of traverseproc, should both be PyObject * rather than void *.


📚 Documentation preview 📚: https://cpython-previews--112742.org.readthedocs.build/

In the slot typedefs table, the parameter of `destructor`
and the first parameter of `traverseproc` should both be
`PyObject *` rather than `void *`.
@bedevere-app bedevere-app bot added docs Documentation in the Doc dir skip news awaiting review labels Dec 5, 2023
@chrstphrchvz chrstphrchvz marked this pull request as draft December 5, 2023 09:06
@chrstphrchvz chrstphrchvz changed the title Docs: fix traverseproc and destructor parameters in slot typedefs table Docs: fix traverseproc, inquiry, and destructor parameters in slot typedefs table Dec 5, 2023
@chrstphrchvz chrstphrchvz marked this pull request as ready for review December 5, 2023 09:10
@encukou encukou changed the title Docs: fix traverseproc, inquiry, and destructor parameters in slot typedefs table gh-111178: Docs: fix traverseproc, inquiry, and destructor parameters in slot typedefs table Dec 6, 2023
@encukou
Copy link
Member

encukou commented Dec 6, 2023

(I linked this to the UBSan issue -- documenting the correct types is definitely helping to fix that problem)

@encukou encukou added needs backport to 3.11 only security fixes needs backport to 3.12 bug and security fixes labels Dec 6, 2023
@encukou encukou merged commit 00cce0f into python:main Dec 6, 2023
25 checks passed
@miss-islington-app
Copy link

Thanks @chrstphrchvz for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 6, 2023
…` parameters in slot typedefs table (pythonGH-112742)

In the slot typedefs table, the parameter of `destructor`
and the first parameter of `traverseproc` should both be
`PyObject *` rather than `void *`.
Same for `inquiry`.
(cherry picked from commit 00cce0f)

Co-authored-by: Christopher Chavez <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Dec 6, 2023

GH-112792 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 bug and security fixes label Dec 6, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 6, 2023
…` parameters in slot typedefs table (pythonGH-112742)

In the slot typedefs table, the parameter of `destructor`
and the first parameter of `traverseproc` should both be
`PyObject *` rather than `void *`.
Same for `inquiry`.
(cherry picked from commit 00cce0f)

Co-authored-by: Christopher Chavez <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Dec 6, 2023

GH-112793 is a backport of this pull request to the 3.11 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.11 only security fixes label Dec 6, 2023
encukou pushed a commit that referenced this pull request Dec 6, 2023
…r` parameters in slot typedefs table (GH-112742) (GH-112792)

gh-111178: Docs: fix `traverseproc`, `inquiry`, and `destructor` parameters in slot typedefs table (GH-112742)

In the slot typedefs table, the parameter of `destructor`
and the first parameter of `traverseproc` should both be
`PyObject *` rather than `void *`.
Same for `inquiry`.
(cherry picked from commit 00cce0f)

Co-authored-by: Christopher Chavez <[email protected]>
encukou pushed a commit that referenced this pull request Dec 6, 2023
…r` parameters in slot typedefs table (GH-112742) (GH-112793)

gh-111178: Docs: fix `traverseproc`, `inquiry`, and `destructor` parameters in slot typedefs table (GH-112742)

In the slot typedefs table, the parameter of `destructor`
and the first parameter of `traverseproc` should both be
`PyObject *` rather than `void *`.
Same for `inquiry`.
(cherry picked from commit 00cce0f)

Co-authored-by: Christopher Chavez <[email protected]>
@chrstphrchvz chrstphrchvz deleted the patch-1 branch December 6, 2023 10:32
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
…` parameters in slot typedefs table (pythonGH-112742)

In the slot typedefs table, the parameter of `destructor`
and the first parameter of `traverseproc` should both be
`PyObject *` rather than `void *`.
Same for `inquiry`.
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
…` parameters in slot typedefs table (pythonGH-112742)

In the slot typedefs table, the parameter of `destructor`
and the first parameter of `traverseproc` should both be
`PyObject *` rather than `void *`.
Same for `inquiry`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants