Skip to content

gh-148390: fix undefined behavior of memoryview(...).cast("?")#148454

Open
picnixz wants to merge 2 commits intopython:mainfrom
picnixz:fix/ubsan/memoryview-148390
Open

gh-148390: fix undefined behavior of memoryview(...).cast("?")#148454
picnixz wants to merge 2 commits intopython:mainfrom
picnixz:fix/ubsan/memoryview-148390

Conversation

@picnixz
Copy link
Copy Markdown
Member

@picnixz picnixz commented Apr 12, 2026

Copy link
Copy Markdown
Member

@StanFromIreland StanFromIreland left a comment

Choose a reason for hiding this comment

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

If the UB is fixed, please remove it from the suppressions list:

# Objects/memoryobject.c:3032:15: runtime error: load of value 2, which is not a valid value for type 'bool'
bool:Objects/memoryobject.c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants