Skip to content

[3.7] closes bpo-38124: Fix bounds check in PyState_AddModule. (GH-16007)#16009

Merged
miss-islington merged 1 commit into
python:3.7from
miss-islington:backport-39de95b-3.7
Sep 12, 2019
Merged

[3.7] closes bpo-38124: Fix bounds check in PyState_AddModule. (GH-16007)#16009
miss-islington merged 1 commit into
python:3.7from
miss-islington:backport-39de95b-3.7

Conversation

@miss-islington

@miss-islington miss-islington commented Sep 11, 2019

Copy link
Copy Markdown
Contributor

The >=, checking whether a module index was in already in the module-by-index list, needed to be strict.

Also, fold nested ifs into one and fix some bad spacing.
(cherry picked from commit 39de95b)

Co-authored-by: Benjamin Peterson benjamin@python.org

https://bugs.python.org/issue38124

)

The >=, checking whether a module index was in already in the module-by-index list, needed to be strict.

Also, fold nested ifs into one and fix some bad spacing.
(cherry picked from commit 39de95b)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
@miss-islington

Copy link
Copy Markdown
Contributor Author

@benjaminp: Status check is done, and it's a success ✅ .

@miss-islington
miss-islington merged commit 8892a1d into python:3.7 Sep 12, 2019
@miss-islington
miss-islington deleted the backport-39de95b-3.7 branch September 12, 2019 00:02
@miss-islington

Copy link
Copy Markdown
Contributor Author

@benjaminp: Status check is done, and it's a success ✅ .

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants