Skip to content

bpo-39770: Remove unnecessary descriptor counting#18674

Closed
petdance wants to merge 10 commits into
python:masterfrom
petdance:bpo-39770
Closed

bpo-39770: Remove unnecessary descriptor counting#18674
petdance wants to merge 10 commits into
python:masterfrom
petdance:bpo-39770

Conversation

@petdance

@petdance petdance commented Feb 27, 2020

Copy link
Copy Markdown
Contributor

The array_modexec function in Modules/arraymodule.c has a loop that calculates the number of elements in the descriptors array. This size was used at one point, but is no longer. The loop can be removed.

https://bugs.python.org/issue39770

@petdance

Copy link
Copy Markdown
Contributor Author

Superseded by #18675.

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.