| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:4b3f8502-a3b4-6d35-b78c-9b149bf0d0f3 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E6FA:181900:555C38:72EED2:6969D4C7 |
| html-safe-nonce | 9a0f43fa99a5ede39210f5f22e6da6a1371d1f6368f7ab5470df059d35452e7c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNkZBOjE4MTkwMDo1NTVDMzg6NzJFRUQyOjY5NjlENEM3IiwidmlzaXRvcl9pZCI6IjE0NTY0MTg0NTU0NDk4ODM4NDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 10d604293f586d9a9a1ac3419d542df82c879e2327b21da65a4c1ad04137f9ae |
| hovercard-subject-tag | pull_request:574071900 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/24548/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/11edca8866107d82cd945b25ee85f9d49b8f51ec5a2f5c277f7e02e90a28cbe4/python/cpython/pull/24548 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/11edca8866107d82cd945b25ee85f9d49b8f51ec5a2f5c277f7e02e90a28cbe4/python/cpython/pull/24548 |
| og:image:alt | The macro accessed the PyTypeObject.tp_iternext member directly.
"Swap" macro variant with the function in order to hide implementation details.
(A function already existed, but it was no... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | erlend-aasland |
| hostname | github.com |
| expected-hostname | github.com |
| None | acedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 83c08c21cdda978090dc44364b71aa5bc6dcea79 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/24548#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F24548 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F24548 |
|
Sign up
| https://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 |
| Reload | https://github.com/python/cpython/pull/24548 |
| Reload | https://github.com/python/cpython/pull/24548 |
| Reload | https://github.com/python/cpython/pull/24548 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/24548 |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.1k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
31
| https://github.com/python/cpython/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/cpython/security |
| Please reload this page | https://github.com/python/cpython/pull/24548 |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/python/cpython/pull/24548#issue-comment-box |
| vstinner | https://github.com/vstinner |
| python:master | https://github.com/python/cpython/tree/master |
| erlend-aasland:bpo-40170/PyIter_Check | https://github.com/erlend-aasland/cpython/tree/bpo-40170/PyIter_Check |
|
bpo-40170: Convert PyIter_Check macro to a function
| https://github.com/python/cpython/pull/24548#top |
| vstinner | https://github.com/vstinner |
| python:master | https://github.com/python/cpython/tree/master |
| erlend-aasland:bpo-40170/PyIter_Check | https://github.com/erlend-aasland/cpython/tree/bpo-40170/PyIter_Check |
|
Conversation
11
| https://github.com/python/cpython/pull/24548 |
|
Commits
6
| https://github.com/python/cpython/pull/24548/commits |
|
Checks
0
| https://github.com/python/cpython/pull/24548/checks |
|
Files changed
| https://github.com/python/cpython/pull/24548/files |
| Please reload this page | https://github.com/python/cpython/pull/24548 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/erlend-aasland |
| erlend-aasland | https://github.com/erlend-aasland |
| Feb 16, 2021 | https://github.com/python/cpython/pull/24548#issue-809163388 |
| Please reload this page | https://github.com/python/cpython/pull/24548 |
| https://bugs.python.org/issue40170 | https://bugs.python.org/issue40170 |
| Please reload this page | https://github.com/python/cpython/pull/24548 |
| https://github.com/the-knights-who-say-ni |
| the-knights-who-say-ni | https://github.com/the-knights-who-say-ni |
|
CLA signed
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22 |
| Feb 16, 2021 | https://github.com/python/cpython/pull/24548#event-4335332607 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Feb 16, 2021 | https://github.com/python/cpython/pull/24548#event-4335332726 |
| https://github.com/erlend-aasland |
| erlend-aasland | https://github.com/erlend-aasland |
| Feb 16, 2021 | https://github.com/python/cpython/pull/24548#issuecomment-779725022 |
| @vstinner | https://github.com/vstinner |
| Please reload this page | https://github.com/python/cpython/pull/24548 |
| February 16, 2021 11:05 | https://github.com/python/cpython/pull/24548#commits-pushed-9f60af2 |
| bpo-40170: Remove macro variant of PyIter_Check | https://github.com/python/cpython/pull/24548/commits/9f60af2cd2a2d472b566766b12b513a02e4fb62e |
| 9f60af2 | https://github.com/python/cpython/pull/24548/commits/9f60af2cd2a2d472b566766b12b513a02e4fb62e |
| Add NEWS | https://github.com/python/cpython/pull/24548/commits/7c0339470809da5115980b7d66da4f429bc51e53 |
| 7c03394 | https://github.com/python/cpython/pull/24548/commits/7c0339470809da5115980b7d66da4f429bc51e53 |
| https://github.com/erlend-aasland |
| erlend-aasland | https://github.com/erlend-aasland |
| force-pushed | https://github.com/python/cpython/compare/ec6687a9d8e8217fa8edbcc905c4c8df5a6b05a9..7c0339470809da5115980b7d66da4f429bc51e53 |
| ec6687a | https://github.com/python/cpython/commit/ec6687a9d8e8217fa8edbcc905c4c8df5a6b05a9 |
| 7c03394 | https://github.com/python/cpython/commit/7c0339470809da5115980b7d66da4f429bc51e53 |
|
Compare
| https://github.com/python/cpython/compare/ec6687a9d8e8217fa8edbcc905c4c8df5a6b05a9..7c0339470809da5115980b7d66da4f429bc51e53 |
| February 16, 2021 10:05 | https://github.com/python/cpython/pull/24548#event-4335352539 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
|
Feb 16, 2021
| https://github.com/python/cpython/pull/24548#pullrequestreview-591155213 |
|
View reviewed changes
| https://github.com/python/cpython/pull/24548/files/7c0339470809da5115980b7d66da4f429bc51e53 |
| vstinner | https://github.com/vstinner |
| https://github.com/python/cpython/pull/24548#pullrequestreview-591155213 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/24548 |
| Objects/abstract.c | https://github.com/python/cpython/pull/24548/files/7c0339470809da5115980b7d66da4f429bc51e53#diff-d2c90d06d281ca8dd7ac8b90109fc26755f7319dd209b5f9416efdecfa56e289 |
| Please reload this page | https://github.com/python/cpython/pull/24548 |
| Include/cpython/abstract.h | https://github.com/python/cpython/pull/24548/files/7c0339470809da5115980b7d66da4f429bc51e53#diff-cf6158859b32f9548b010233c5c8cd5ef7631a8080a45f8f72f09c61aa898483 |
| Please reload this page | https://github.com/python/cpython/pull/24548 |
| Doc/c-api/iter.rst | https://github.com/python/cpython/pull/24548/files/7c0339470809da5115980b7d66da4f429bc51e53#diff-f6239ff4e66de7e8559932cffb3822d08dc2697fe28065476ca7291fd1708120 |
| Please reload this page | https://github.com/python/cpython/pull/24548 |
| Misc/NEWS.d/next/Core and Builtins/2021-02-15-15-06-43.bpo-40170.ZYeSii.rst | https://github.com/python/cpython/pull/24548/files/7c0339470809da5115980b7d66da4f429bc51e53#diff-3e924c7648c9e30bf32e501cbfd9211dbb0affc80dc567d4a76fc30b2fddfff6 |
| Please reload this page | https://github.com/python/cpython/pull/24548 |
| February 16, 2021 13:10 | https://github.com/python/cpython/pull/24548#commits-pushed-780d661 |
|
| https://github.com/vstinner |
| Add parens | https://github.com/python/cpython/pull/24548/commits/780d6619b571be467618ea20190aae9ed4f50253 |
| 780d661 | https://github.com/python/cpython/pull/24548/commits/780d6619b571be467618ea20190aae9ed4f50253 |
|
| https://github.com/vstinner |
| Improve NEWS entry | https://github.com/python/cpython/pull/24548/commits/0452b697fbb44fe85cd2b738c5560b9010dd6c53 |
| 0452b69 | https://github.com/python/cpython/pull/24548/commits/0452b697fbb44fe85cd2b738c5560b9010dd6c53 |
| Address review: Update comment | https://github.com/python/cpython/pull/24548/commits/4fb4918bb27362262bef9a897709c9ca48cf98c9 |
| 4fb4918 | https://github.com/python/cpython/pull/24548/commits/4fb4918bb27362262bef9a897709c9ca48cf98c9 |
| Address review: Remove duplicate expose | https://github.com/python/cpython/pull/24548/commits/fd85ca676d213dfbcfdc667f33af91e3a6c21486 |
| fd85ca6 | https://github.com/python/cpython/pull/24548/commits/fd85ca676d213dfbcfdc667f33af91e3a6c21486 |
| https://github.com/erlend-aasland |
| erlend-aasland | https://github.com/erlend-aasland |
| Feb 16, 2021 | https://github.com/python/cpython/pull/24548#issuecomment-779817973 |
| @vstinner | https://github.com/vstinner |
| Please reload this page | https://github.com/python/cpython/pull/24548 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| cc54001 | https://github.com/python/cpython/commit/cc54001c2eb3b14320c1667b22602d69c90d5865 |
| Feb 16, 2021 | https://github.com/python/cpython/pull/24548#event-4336676098 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Feb 16, 2021 | https://github.com/python/cpython/pull/24548#event-4336676334 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Feb 16, 2021 | https://github.com/python/cpython/pull/24548#issuecomment-779897379 |
| Please reload this page | https://github.com/python/cpython/pull/24548 |
| https://github.com/erlend-aasland |
| erlend-aasland | https://github.com/erlend-aasland |
| February 16, 2021 15:14 | https://github.com/python/cpython/pull/24548#event-4336720533 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
| Feb 16, 2021 | https://github.com/python/cpython/pull/24548#issuecomment-779993874 |
| cc54001 | https://github.com/python/cpython/commit/cc54001c2eb3b14320c1667b22602d69c90d5865 |
| the buildbot page in the devguide | https://devguide.python.org/buildbots/ |
| https://buildbot.python.org/all/#builders/458/builds/1109 | https://buildbot.python.org/all/#builders/458/builds/1109 |
| cc54001 | https://github.com/python/cpython/commit/cc54001c2eb3b14320c1667b22602d69c90d5865 |
| https://buildbot.python.org/all/#builders/458/builds/1109 | https://buildbot.python.org/all/#builders/458/builds/1109 |
| Please reload this page | https://github.com/python/cpython/pull/24548 |
| https://github.com/erlend-aasland |
| erlend-aasland | https://github.com/erlend-aasland |
|
Feb 16, 2021
| https://github.com/python/cpython/pull/24548#ref-pullrequest-809663533 |
|
bpo-40170: Always define PyExceptionClass_Name as a function
#24553
| https://github.com/python/cpython/pull/24553 |
| erlend-aasland | https://github.com/erlend-aasland |
|
Feb 17, 2021
| https://github.com/python/cpython/pull/24548#ref-commit-c794f9c |
| Move | https://github.com/erlend-aasland/cpython/commit/c794f9c6de5d35378eed7caea255d611183d7a21 |
| pythonGH-24533 | https://github.com/python/cpython/pull/24533 |
| , | https://github.com/erlend-aasland/cpython/commit/c794f9c6de5d35378eed7caea255d611183d7a21 |
| pythonGH-24535 | https://github.com/python/cpython/pull/24535 |
| , and | https://github.com/erlend-aasland/cpython/commit/c794f9c6de5d35378eed7caea255d611183d7a21 |
| pythonGH-24548 | https://github.com/python/cpython/pull/24548 |
| NEWS entries … | https://github.com/erlend-aasland/cpython/commit/c794f9c6de5d35378eed7caea255d611183d7a21 |
| c794f9c | https://github.com/erlend-aasland/cpython/commit/c794f9c6de5d35378eed7caea255d611183d7a21 |
| adorilson | https://github.com/adorilson |
|
Mar 13, 2021
| https://github.com/python/cpython/pull/24548#ref-commit-a64877a |
|
| https://github.com/adorilson |
| bpo-40170: Always define PyIter_Check() as a function ( | https://github.com/adorilson/cpython/commit/a64877a9127e95210b1664e215037bc97e8fcc28 |
| pythonGH-24548 | https://github.com/python/cpython/pull/24548 |
| ) | https://github.com/adorilson/cpython/commit/a64877a9127e95210b1664e215037bc97e8fcc28 |
| a64877a | https://github.com/adorilson/cpython/commit/a64877a9127e95210b1664e215037bc97e8fcc28 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F24548 |
|
| https://github.com/vstinner |
|
vstinner
| https://github.com/vstinner |
|
| https://github.com/python/cpython/pull/24548/files/7c0339470809da5115980b7d66da4f429bc51e53 |
| Please reload this page | https://github.com/python/cpython/pull/24548 |
|
| https://github.com/erlend-aasland |
|
| https://github.com/vstinner |
|
| https://github.com/bedevere-bot |
|
| https://github.com/the-knights-who-say-ni |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |