Skip to content

Conversation

picnixz
Copy link
Member

@picnixz picnixz commented Dec 25, 2024

Copy link
Member

@markshannon markshannon left a comment

Choose a reason for hiding this comment

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

Would benefit from adding a couple of asserts. Otherwise, looks good.

@picnixz
Copy link
Member Author

picnixz commented Jan 7, 2025

Would benefit from adding a couple of asserts. Otherwise, looks good.

Victor modified those files previously and decided on a non-macro formulation (pure pointer cast). I followed the same idea as I didn't want to introduce inconsistencies. Would it make sense to create a macro that performs the assertion on the self itself and replace pointer casts by that macro?

@picnixz picnixz requested a review from markshannon January 11, 2025 10:11
@encukou encukou merged commit 4533036 into python:main Jan 13, 2025
39 checks passed
@picnixz picnixz deleted the fix/ubsan/codeobject-111178 branch January 13, 2025 13:32
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.

3 participants