Skip to content

Conversation

@miss-islington
Copy link
Contributor

Address a C undefined behavior signed integer overflow issue in set object table resizing. Our -fwrapv compiler flag and practical reasons why sets are unlikely to get this large should mean this was never an issue but it was incorrect code that generates code analysis warnings.

https://bugs.python.org/issue1621

(cherry picked from commit 6c7d67c)

Co-authored-by: Sergey Fedoseev [email protected]

…nGH-9059)

Address a C undefined behavior signed integer overflow issue in set object table resizing.  Our -fwrapv compiler flag and practical reasons why sets are unlikely to get this large should mean this was never an issue but it was incorrect code that generates code analysis warnings.

<!-- issue-number: [bpo-1621](https://www.bugs.python.org/issue1621) -->
https://bugs.python.org/issue1621
<!-- /issue-number -->
(cherry picked from commit 6c7d67c)

Co-authored-by: Sergey Fedoseev <[email protected]>
@miss-islington
Copy link
Contributor Author

@sir-sigurd: Status check is done, and it's a success ✅ .

@vstinner vstinner merged commit a9274f7 into python:3.6 Oct 19, 2018
@miss-islington miss-islington deleted the backport-6c7d67c-3.6 branch October 19, 2018 22:48
Sign up for free to 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.

7 participants