Skip to content

gh-111178: Fix function signatures in sliceobject.c - #130575

Merged
vstinner merged 2 commits into
python:mainfrom
vstinner:ubsan_slice
Feb 26, 2025
Merged

gh-111178: Fix function signatures in sliceobject.c#130575
vstinner merged 2 commits into
python:mainfrom
vstinner:ubsan_slice

Conversation

@vstinner

@vstinnervstinner commented Feb 26, 2025

Copy link
Copy Markdown
Member

Rename slicehash() to slice_hash() for consistency.
@vstinner

Copy link
Copy Markdown
MemberAuthor

cc @picnixz

@skirpichevskirpichev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see just one slice_traverse() slot with type cast. Would you mind to fix this too?

@vstinner

Copy link
Copy Markdown
MemberAuthor

I see just one slice_traverse() slot with type cast. Would you mind to fix this too?

Alright, I updated my PR to also change this function.

@vstinner
vstinner merged commit daeb0ef into python:mainFeb 26, 2025
@vstinner
vstinner deleted the ubsan_slice branch February 26, 2025 20:37
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@vstinner@skirpichev