René's URL Explorer Experiment


Title: bpo-29935: Fix error messages in the index() method of tuple, list and deque by serhiy-storchaka · Pull Request #887 · python/cpython · GitHub

Open Graph Title: bpo-29935: Fix error messages in the index() method of tuple, list and deque by serhiy-storchaka · Pull Request #887 · python/cpython

X Title: bpo-29935: Fix error messages in the index() method of tuple, list and deque by serhiy-storchaka · Pull Request #887 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: when pass indices of wrong type. _PyEval_SliceIndex() now checks for None and not check for NULL. _PyEval_SliceIndexNotNone() is similar to _PyEval_SliceIndex(), but doesn't allow None.

X Description: when pass indices of wrong type. _PyEval_SliceIndex() now checks for None and not check for NULL. _PyEval_SliceIndexNotNone() is similar to _PyEval_SliceIndex(), but doesn't allow None.

Opengraph URL: https://github.com/python/cpython/pull/887

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:10bce8bb-c4f8-2894-adf2-e30ebffbedaf
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB42E:16D39D:103883:16C81B:6B00533A
html-safe-nonce430ff450a2f0c0151b3da63fba14a786a13a9b9bba12fd558fcfa32146f02ba6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDJFOjE2RDM5RDoxMDM4ODM6MTZDODFCOjZCMDA1MzNBIiwidmlzaXRvcl9pZCI6IjYyMDY0MjExNjgzNjczNTg3NzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5e3b5dc6eba9469ca7930ddbb4cd5d9e88969c00c26b9e1477bf1b4d28624559
hovercard-subject-tagpull_request:113242933
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/887/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0230afdd087794a20a3f3fa5c67fafde4f6d59a21ded58a077fabf903bc071d6/python/cpython/pull/887
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0230afdd087794a20a3f3fa5c67fafde4f6d59a21ded58a077fabf903bc071d6/python/cpython/pull/887
og:image:altwhen pass indices of wrong type. _PyEval_SliceIndex() now checks for None and not check for NULL. _PyEval_SliceIndexNotNone() is similar to _PyEval_SliceIndex(), but doesn't allow None.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameserhiy-storchaka
hostnamegithub.com
expected-hostnamegithub.com
Nonef420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release26e00df917aba0f128135dc073ea0c5e33a70d40
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/887#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F887
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F887
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/887
Reloadhttps://github.com/python/cpython/pull/887
Reloadhttps://github.com/python/cpython/pull/887
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
serhiy-storchakahttps://github.com/serhiy-storchaka
python:masterhttps://github.com/python/cpython/tree/master
serhiy-storchaka:slice-index-not-nonehttps://github.com/serhiy-storchaka/cpython/tree/slice-index-not-none
Conversationhttps://github.com/python/cpython/pull/887
Commits2 (2)https://github.com/python/cpython/pull/887/commits
Checkshttps://github.com/python/cpython/pull/887/checks
Files changedhttps://github.com/python/cpython/pull/887/files
bpo-29935: Fix error messages in the index() method of tuple, list and dequehttps://github.com/python/cpython/pull/887#top
serhiy-storchakahttps://github.com/serhiy-storchaka
python:masterhttps://github.com/python/cpython/tree/master
serhiy-storchaka:slice-index-not-nonehttps://github.com/serhiy-storchaka/cpython/tree/slice-index-not-none
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Mar 29, 2017https://github.com/python/cpython/pull/887#issue-217937473
Please reload this pagehttps://github.com/python/cpython/pull/887
https://github.com/serhiy-storchaka
bpo-29935: Fixed error messages in the index() method of tuple, list …https://github.com/python/cpython/pull/887/commits/9a991569932092918d0ef27c22679e9b8a2701b8
9a99156https://github.com/python/cpython/pull/887/commits/9a991569932092918d0ef27c22679e9b8a2701b8
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
type-bug https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-bug
needs backport to 2.7 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%202.7%22
Mar 29, 2017https://github.com/python/cpython/pull/887#event-1020791300
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
rhettingerhttps://github.com/rhettinger
March 29, 2017 16:42https://github.com/python/cpython/pull/887#event-1020791311
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Mar 29, 2017https://github.com/python/cpython/pull/887#event-1020791362
https://github.com/mention-bot
mention-bothttps://github.com/mention-bot
Mar 29, 2017https://github.com/python/cpython/pull/887#issuecomment-290149421
@serhiy-storchakahttps://github.com/serhiy-storchaka
@larryhastingshttps://github.com/larryhastings
@benjaminphttps://github.com/benjaminp
@rhettingerhttps://github.com/rhettinger
Please reload this pagehttps://github.com/python/cpython/pull/887
https://github.com/serhiy-storchaka
Merge branch 'master' into slice-index-not-nonehttps://github.com/python/cpython/pull/887/commits/f75d413c82221e10439ab9a13d72f415dd518aa8
f75d413https://github.com/python/cpython/pull/887/commits/f75d413c82221e10439ab9a13d72f415dd518aa8
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
d4edfc9https://github.com/python/cpython/commit/d4edfc9abffca965e76ebc5957a92031a4d6c4d4
Mar 30, 2017https://github.com/python/cpython/pull/887#event-1022536392
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
March 30, 2017 15:29https://github.com/python/cpython/pull/887#event-1022536513
serhiy-storchakahttps://github.com/serhiy-storchaka
Mar 30, 2017 https://github.com/python/cpython/pull/887#ref-commit-d37de87
https://github.com/serhiy-storchaka
bpo-29935: Fixed error messages in the index() method of tuple, list …https://github.com/serhiy-storchaka/cpython/commit/d37de87879c25602cda247876bf1ac43ff98a0f4
d37de87https://github.com/serhiy-storchaka/cpython/commit/d37de87879c25602cda247876bf1ac43ff98a0f4
python#887https://github.com/python/cpython/pull/887
d4edfc9https://github.com/serhiy-storchaka/cpython/commit/d4edfc9abffca965e76ebc5957a92031a4d6c4d4
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Mar 30, 2017 https://github.com/python/cpython/pull/887#ref-pullrequest-218248557
bpo-29935: Fixed error messages in the index() method of tuple, list … #907 https://github.com/python/cpython/pull/907
serhiy-storchakahttps://github.com/serhiy-storchaka
Mar 30, 2017 https://github.com/python/cpython/pull/887#ref-commit-bf4bb2e
https://github.com/serhiy-storchaka
bpo-29935https://bugs.python.org/issue?@action=redirect&bpo=29935
: Fixed error messages in the index() method of tuple, list …https://github.com/python/cpython/commit/bf4bb2e43030661e568d5d4b046e8b9351cc164c
bf4bb2ehttps://github.com/python/cpython/commit/bf4bb2e43030661e568d5d4b046e8b9351cc164c
#887https://github.com/python/cpython/pull/887
#907https://github.com/python/cpython/pull/907
d4edfc9https://github.com/python/cpython/commit/d4edfc9abffca965e76ebc5957a92031a4d6c4d4
serhiy-storchakahttps://github.com/serhiy-storchaka
Mar 30, 2017 https://github.com/python/cpython/pull/887#ref-commit-f79cdf2
https://github.com/serhiy-storchaka
bpo-29935: Fixed error messages in the index() method of tuple, list …https://github.com/serhiy-storchaka/cpython/commit/f79cdf20f31ec9a8a788402269576c3a03996f52
f79cdf2https://github.com/serhiy-storchaka/cpython/commit/f79cdf20f31ec9a8a788402269576c3a03996f52
python#887https://github.com/python/cpython/pull/887
python#907https://github.com/python/cpython/pull/907
d4edfc9https://github.com/serhiy-storchaka/cpython/commit/d4edfc9abffca965e76ebc5957a92031a4d6c4d4
bf4bb2ehttps://github.com/serhiy-storchaka/cpython/commit/bf4bb2e43030661e568d5d4b046e8b9351cc164c
serhiy-storchakahttps://github.com/serhiy-storchaka
Mar 30, 2017 https://github.com/python/cpython/pull/887#ref-commit-8cdc2ea
https://github.com/serhiy-storchaka
bpo-29935: Fixed error messages in the index() method of tuple and li…https://github.com/serhiy-storchaka/cpython/commit/8cdc2ea07b2e83d8a2ccb01772191d76b0193f6f
8cdc2eahttps://github.com/serhiy-storchaka/cpython/commit/8cdc2ea07b2e83d8a2ccb01772191d76b0193f6f
python#887https://github.com/python/cpython/pull/887
python#907https://github.com/python/cpython/pull/907
d4edfc9https://github.com/serhiy-storchaka/cpython/commit/d4edfc9abffca965e76ebc5957a92031a4d6c4d4
bf4bb2ehttps://github.com/serhiy-storchaka/cpython/commit/bf4bb2e43030661e568d5d4b046e8b9351cc164c
bpo-29935: Fixed error messages in the index() method of tuple, list … #909 https://github.com/python/cpython/pull/909
bpo-29935: Fixed error messages in the index() method of tuple and li… #910 https://github.com/python/cpython/pull/910
serhiy-storchakahttps://github.com/serhiy-storchaka
Mar 30, 2017 https://github.com/python/cpython/pull/887#ref-commit-8b8bde4
https://github.com/serhiy-storchaka
bpo-29935https://bugs.python.org/issue?@action=redirect&bpo=29935
: Fixed error messages in the index() method of tuple, list …https://github.com/python/cpython/commit/8b8bde44f3912d8b2df5591ffc31d2d8c6dcca6c
8b8bde4https://github.com/python/cpython/commit/8b8bde44f3912d8b2df5591ffc31d2d8c6dcca6c
#887https://github.com/python/cpython/pull/887
#907https://github.com/python/cpython/pull/907
#909https://github.com/python/cpython/pull/909
d4edfc9https://github.com/python/cpython/commit/d4edfc9abffca965e76ebc5957a92031a4d6c4d4
bf4bb2ehttps://github.com/python/cpython/commit/bf4bb2e43030661e568d5d4b046e8b9351cc164c
serhiy-storchakahttps://github.com/serhiy-storchaka
Mar 30, 2017 https://github.com/python/cpython/pull/887#ref-commit-079f21f
https://github.com/serhiy-storchaka
bpo-29935https://bugs.python.org/issue?@action=redirect&bpo=29935
: Fixed error messages in the index() method of tuple and li…https://github.com/python/cpython/commit/079f21f873b99f9564a41c5b7f3e0d7035847ae5
079f21fhttps://github.com/python/cpython/commit/079f21f873b99f9564a41c5b7f3e0d7035847ae5
#887https://github.com/python/cpython/pull/887
#907https://github.com/python/cpython/pull/907
#910https://github.com/python/cpython/pull/910
d4edfc9https://github.com/python/cpython/commit/d4edfc9abffca965e76ebc5957a92031a4d6c4d4
bf4bb2ehttps://github.com/python/cpython/commit/bf4bb2e43030661e568d5d4b046e8b9351cc164c
https://github.com/Mariatta
Mariattahttps://github.com/Mariatta
needs backport to 2.7 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%202.7%22
Mar 31, 2017https://github.com/python/cpython/pull/887#event-1023479255
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F887
https://github.com/rhettinger
rhettinger https://github.com/rhettinger
Please reload this pagehttps://github.com/python/cpython/pull/887
type-bug https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-bug
Please reload this pagehttps://github.com/python/cpython/pull/887
https://github.com/serhiy-storchaka
https://github.com/mention-bot
https://github.com/Mariatta
https://github.com/the-knights-who-say-ni
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.