| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:15881307-17a3-9083-001e-fbc364a486b5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EDC6:1A9729:14B35AC:1D5367F:696902CF |
| html-safe-nonce | a66e95d476a41eedacf754b1f4bf09c8eb5fb46976ea68d068dd6bf0d1286f53 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREM2OjFBOTcyOToxNEIzNUFDOjFENTM2N0Y6Njk2OTAyQ0YiLCJ2aXNpdG9yX2lkIjoiNDk1MjA5NDY3ODQyMTQwNjQxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ae7b4854b91fdfb4d3896cbb36c01bcf42e6f116d3fd2c06a83bc2cda6735b4c |
| hovercard-subject-tag | pull_request:1114489506 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/99247/files |
| twitter:image | https://avatars.githubusercontent.com/u/64686?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/64686?s=400&v=4 |
| og:image:alt | This is ref the discussion on #94912 to add an official way of marking callables as coroutine functions where they would not otherwise be detected.
cc. @gvanrossum @andrewgodwin I've just had t... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | e6156bd4ef9f2dc8dadf4c49a8f7ed8532186388cef72eda3ccb9f0ab3b8cfca |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | fd1938215b152e2c6a29cf56fec07fd9f91f1203 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/99247/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F99247%2Ffiles |
| 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%2F99247%2Ffiles |
|
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/99247/files |
| Reload | https://github.com/python/cpython/pull/99247/files |
| Reload | https://github.com/python/cpython/pull/99247/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/99247/files |
|
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
2k
| 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/99247/files |
|
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 |
| gvanrossum | https://github.com/gvanrossum |
| python:main | https://github.com/python/cpython/tree/main |
| carltongibson:fix-issue-XXXXX | https://github.com/carltongibson/cpython/tree/fix-issue-XXXXX |
|
Conversation
55
| https://github.com/python/cpython/pull/99247 |
|
Commits
16
| https://github.com/python/cpython/pull/99247/commits |
|
Checks
0
| https://github.com/python/cpython/pull/99247/checks |
|
Files changed
| https://github.com/python/cpython/pull/99247/files |
| Please reload this page | https://github.com/python/cpython/pull/99247/files |
|
gh-94912: Added marker for non-standard coroutine function detection
| https://github.com/python/cpython/pull/99247/files#top |
|
Show all changes
16 commits
| https://github.com/python/cpython/pull/99247/files |
|
4cf8e98
Added initial test and docs drafts.
carltongibson Nov 8, 2022
| https://github.com/python/cpython/pull/99247/commits/4cf8e98175e501c671c3c43016d3df443def9ffc |
|
6b8fa87
Make first case pass setting code flags.
carltongibson Nov 15, 2022
| https://github.com/python/cpython/pull/99247/commits/6b8fa872c5378cc608b0a0ca01ed350c4193e07d |
|
fa22a16
Adjust iscoroutinefunction() to look for async __call__.
carltongibson Nov 15, 2022
| https://github.com/python/cpython/pull/99247/commits/fa22a1631ebaf49f54d45eb36057ac3a49ca26f6 |
|
513d358
📜🤖 Added by blurb_it.
blurb-it[bot] Nov 17, 2022
| https://github.com/python/cpython/pull/99247/commits/513d3582081efe0d83bd5d4da1f4d9a8c99e3535 |
|
397a975
Moved to decorator; extra tests.
carltongibson Nov 17, 2022
| https://github.com/python/cpython/pull/99247/commits/397a975bc331733aafdc843611180759e135f012 |
|
d156eab
Added tests for lambda, @classmethod, and @staticmethod cases.
carltongibson Nov 23, 2022
| https://github.com/python/cpython/pull/99247/commits/d156eab1859aaade6b3e096a25caefdc93731ede |
|
34859de
Adjusted docs signature for review comment.
carltongibson Nov 23, 2022
| https://github.com/python/cpython/pull/99247/commits/34859de64ada345fca4a5741825180297bc35438 |
|
47a9fea
Improve grammar in NEWS file
gvanrossum Nov 23, 2022
| https://github.com/python/cpython/pull/99247/commits/47a9fea9653ca539c02e62649bebe8300ad260e9 |
|
cd6c491
Adjusted docs.
carltongibson Nov 29, 2022
| https://github.com/python/cpython/pull/99247/commits/cd6c491359b2424d3ff6b2bac6b8efc12c62ffc0 |
|
629dd81
Updated for review comments.
carltongibson Nov 30, 2022
| https://github.com/python/cpython/pull/99247/commits/629dd8192dc2f5559286028e98f29d58f8cbbf1f |
|
a518c0f
Merge branch 'main' into fix-issue-XXXXX
gvanrossum Nov 30, 2022
| https://github.com/python/cpython/pull/99247/commits/a518c0f0b98d673b7d84b34526f6648ff81f9bf9 |
|
c6d2b88
Use marker for implementation.
carltongibson Dec 6, 2022
| https://github.com/python/cpython/pull/99247/commits/c6d2b88a1884039c8ea98124401acbf10accf660 |
|
b7249a8
Added "What's New..." entry.
carltongibson Dec 6, 2022
| https://github.com/python/cpython/pull/99247/commits/b7249a89b25ab6f5643208f6b8dcd00dd3507593 |
|
3bc72e2
Adjusted implementation.
carltongibson Dec 8, 2022
| https://github.com/python/cpython/pull/99247/commits/3bc72e2422ba4f44725525c5eb87989c677c6b34 |
|
c073cf7
Renamed to _is_coroutine_marker.
carltongibson Dec 13, 2022
| https://github.com/python/cpython/pull/99247/commits/c073cf79867a702dc4de6a0659dd9d16bfe4b44e |
|
5ffba32
Adjusted implementation and docs.
carltongibson Dec 13, 2022
| https://github.com/python/cpython/pull/99247/commits/5ffba320051f474cad2796621bc648e0e66890dc |
|
Clear filters
| https://github.com/python/cpython/pull/99247/files |
| Please reload this page | https://github.com/python/cpython/pull/99247/files |
| Please reload this page | https://github.com/python/cpython/pull/99247/files |
|
inspect.rst
| https://github.com/python/cpython/pull/99247/files#diff-28534bf091e28ca43bf9d54227179e5bb8297a038072241978f9b4f954427ae3 |
|
3.12.rst
| https://github.com/python/cpython/pull/99247/files#diff-0f2c1763c64530268325a0ee2dfaa4f5d555c4ac27deb78bd77102c8ce1b886b |
|
inspect.py
| https://github.com/python/cpython/pull/99247/files#diff-b89cd06e4637abacb73f2500301ff979a67ad7ecbfa7cf151c7243715898d7ea |
|
test_inspect.py
| https://github.com/python/cpython/pull/99247/files#diff-cd0b5ed704ccdad2d507d4f756ac2a9b391e0c9bbb5554baf851dbebd8b5e618 |
|
2022-11-17-10-02-18.gh-issue-94912.G2aa-E.rst
| https://github.com/python/cpython/pull/99247/files#diff-63ed2255d0e070054c79d623b14c3db38cff7e09d54173806b15a47a7240c4a5 |
| Doc/library/inspect.rst | https://github.com/python/cpython/pull/99247/files#diff-28534bf091e28ca43bf9d54227179e5bb8297a038072241978f9b4f954427ae3 |
|
View file
| https://github.com/carltongibson/cpython/blob/5ffba320051f474cad2796621bc648e0e66890dc/Doc/library/inspect.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/99247/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/99247/files#diff-28534bf091e28ca43bf9d54227179e5bb8297a038072241978f9b4f954427ae3 |
|
| https://github.com/python/cpython/pull/99247/files#diff-28534bf091e28ca43bf9d54227179e5bb8297a038072241978f9b4f954427ae3 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L114 |
| Doc/whatsnew/3.12.rst | https://github.com/python/cpython/pull/99247/files#diff-0f2c1763c64530268325a0ee2dfaa4f5d555c4ac27deb78bd77102c8ce1b886b |
|
View file
| https://github.com/carltongibson/cpython/blob/5ffba320051f474cad2796621bc648e0e66890dc/Doc/whatsnew/3.12.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/99247/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/99247/files#diff-0f2c1763c64530268325a0ee2dfaa4f5d555c4ac27deb78bd77102c8ce1b886b |
|
| https://github.com/python/cpython/pull/99247/files#diff-0f2c1763c64530268325a0ee2dfaa4f5d555c4ac27deb78bd77102c8ce1b886b |
| Lib/inspect.py | https://github.com/python/cpython/pull/99247/files#diff-b89cd06e4637abacb73f2500301ff979a67ad7ecbfa7cf151c7243715898d7ea |
|
View file
| https://github.com/carltongibson/cpython/blob/5ffba320051f474cad2796621bc648e0e66890dc/Lib/inspect.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/99247/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/99247/files#diff-b89cd06e4637abacb73f2500301ff979a67ad7ecbfa7cf151c7243715898d7ea |
|
| https://github.com/python/cpython/pull/99247/files#diff-b89cd06e4637abacb73f2500301ff979a67ad7ecbfa7cf151c7243715898d7ea |
|
| https://github.com/python/cpython/pull/99247/files#diff-b89cd06e4637abacb73f2500301ff979a67ad7ecbfa7cf151c7243715898d7ea |
|
| https://github.com/python/cpython/pull/99247/files#diff-b89cd06e4637abacb73f2500301ff979a67ad7ecbfa7cf151c7243715898d7ea |
| Lib/test/test_inspect.py | https://github.com/python/cpython/pull/99247/files#diff-cd0b5ed704ccdad2d507d4f756ac2a9b391e0c9bbb5554baf851dbebd8b5e618 |
|
View file
| https://github.com/carltongibson/cpython/blob/5ffba320051f474cad2796621bc648e0e66890dc/Lib/test/test_inspect.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/99247/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/99247/files#diff-cd0b5ed704ccdad2d507d4f756ac2a9b391e0c9bbb5554baf851dbebd8b5e618 |
| Please reload this page | https://github.com/python/cpython/pull/99247/files |
|
| https://github.com/python/cpython/pull/99247/files#diff-cd0b5ed704ccdad2d507d4f756ac2a9b391e0c9bbb5554baf851dbebd8b5e618 |
| Misc/NEWS.d/next/Library/2022-11-17-10-02-18.gh-issue-94912.G2aa-E.rst | https://github.com/python/cpython/pull/99247/files#diff-63ed2255d0e070054c79d623b14c3db38cff7e09d54173806b15a47a7240c4a5 |
|
View file
| https://github.com/carltongibson/cpython/blob/5ffba320051f474cad2796621bc648e0e66890dc/Misc/NEWS.d/next/Library/2022-11-17-10-02-18.gh-issue-94912.G2aa-E.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/99247/{{ revealButtonHref }} |
|
| 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 |