gh-99761: add invalid_index macro by eendebakpt · Pull Request #99762 · python/cpython · GitHub

github.com

Tin mới

eendebakpt:list_tuple

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

Consistent use of valid index check #99761

replace valid_index

📜🤖 Added by blurb_it.

Merge branch 'list_tuple' of github.com:eendebakpt/cpython into list_…

Rename 2022-11-25-09-34-57.gh-issue-9761.sRqH37.rst to 2022-11-25-09-…

add method for int check

change invalid_index to valid_index

change invalid_index to valid_index

revert changes to _collectionsmodule.c on request of the author

make valid_index private

change static inline to macro

unto changes to _collectionsmodule.c

Merge branch 'main' into list_tuple

View reviewed changes

Learn more about hiding disruptive comments

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

rename to static inline int _Py_is_valid_index

Merge branch 'main' into list_tuple

Merge branch 'main' into list_tuple

Merge branch 'main' into list_tuple

Merge branch 'main' into list_tuple

Merge branch 'main' into list_tuple

Merge branch 'main' into list_tuple

View reviewed changes

Merge branch 'main' into list_tuple

Merge branch 'main' into list_tuple

Merge branch 'main' into list_tuple

Merge branch 'main' into list_tuple

Merge branch 'main' into list_tuple

View reviewed changes

awaiting core review