Skip to content

Conversation

@sobolevn
Copy link
Member

@sobolevn sobolevn commented Feb 13, 2024

I think it is safe to just cast unsigned value to signed here, with minimal overflow risk, because we define cv.v = _PyLong_CompactValue(v);

CC original author and reviewers.

@sobolevn
Copy link
Member Author

Thanks! But, #115368 was first :)
I've missed it, but I will let him do that.

@sobolevn sobolevn closed this Feb 13, 2024
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