| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:3cbeaf44-4d7a-0b78-f74a-25e196567124 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8380:2511D4:6C1B5C:9393A7:6A55A450 |
| html-safe-nonce | 653893303ef0df3511eeeed78f47517b5f2ced1ccc737b42434ef4e0317a9e4d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzgwOjI1MTFENDo2QzFCNUM6OTM5M0E3OjZBNTVBNDUwIiwidmlzaXRvcl9pZCI6IjMzODY1NDc0NDA4NDA5NzU0NDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 35f094ad461b198a73c32f30535195291578a1ed9a4b2c123ddc0e3c072c6ff8 |
| hovercard-subject-tag | pull_request:317972208 |
| 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/16192/files |
| twitter:image | https://avatars.githubusercontent.com/u/11097768?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/11097768?s=400&v=4 |
| og:image:alt | After a lot of discussion we have decided that "calls" and "awaits" should be counted as two different things.
To accomplish this I separated the call counting from the actual e... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| 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 | 653fccf1e27344851c0d3de3fa6faa526197f072 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/16192/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F16192%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| 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 |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| 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/enterprise/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%2F16192%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/16192/files |
| Reload | https://github.com/python/cpython/pull/16192/files |
| Reload | https://github.com/python/cpython/pull/16192/files |
| Please reload this page | https://github.com/python/cpython/pull/16192/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/16192/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.8k
| 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.3k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
0
| https://github.com/python/cpython/security |
|
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 and quality
| 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 |
| lisroach | https://github.com/lisroach |
| python:master | https://github.com/python/cpython/tree/master |
| lisroach:fix_call_count | https://github.com/lisroach/cpython/tree/fix_call_count |
|
Conversation
36
| https://github.com/python/cpython/pull/16192 |
|
Commits
8
| https://github.com/python/cpython/pull/16192/commits |
|
Checks
0
| https://github.com/python/cpython/pull/16192/checks |
|
Files changed
| https://github.com/python/cpython/pull/16192/files |
| Please reload this page | https://github.com/python/cpython/pull/16192/files |
|
bpo-38136: Updates await_count and call_count to be different things
| https://github.com/python/cpython/pull/16192/files#top |
|
Show all changes
8 commits
| https://github.com/python/cpython/pull/16192/files |
|
bba68c0
Increment and execute call seperatly to support awaitable counts.
lisroach Sep 13, 2019
| https://github.com/python/cpython/pull/16192/commits/bba68c0ca935fcc4840bde7f44142b0ae0bf58f9 |
|
ab5341d
Adds tests.
lisroach Sep 13, 2019
| https://github.com/python/cpython/pull/16192/commits/ab5341da5fae693652ccece5a60569ef5f8c70e1 |
|
c366bf1
Adds upstream changes.
lisroach Sep 16, 2019
| https://github.com/python/cpython/pull/16192/commits/c366bf1f54683ad8e50835a5623c16109112b7c9 |
|
076b84b
Merge branch 'master' into fix_call_count
lisroach Sep 16, 2019
| https://github.com/python/cpython/pull/16192/commits/076b84b2d4accde82cfa80ec6b5a8ab7218810b5 |
|
d4a9315
Adds news entry.
lisroach Sep 16, 2019
| https://github.com/python/cpython/pull/16192/commits/d4a9315ca500f3119510c6828a711b842fd9dae8 |
|
48b803d
Removes bad doc and space.
lisroach Sep 16, 2019
| https://github.com/python/cpython/pull/16192/commits/48b803d30d96c7fa91134d5ba5efefb39172ae9a |
|
fbd83bc
Updates the tests based on comments.
lisroach Sep 18, 2019
| https://github.com/python/cpython/pull/16192/commits/fbd83bc35e5856c890b913d7ee84017d5c659de1 |
|
564adc4
Adds docs, fixes up tests.
lisroach Sep 20, 2019
| https://github.com/python/cpython/pull/16192/commits/564adc432d50b9bcf891800a3c49aff155eee841 |
|
Clear filters
| https://github.com/python/cpython/pull/16192/files |
| Please reload this page | https://github.com/python/cpython/pull/16192/files |
| Please reload this page | https://github.com/python/cpython/pull/16192/files |
|
unittest.mock.rst
| https://github.com/python/cpython/pull/16192/files#diff-e24490db2cf4ecf0da79ab5fe9aa0ab7de1b333424356e079a5d56a263d2082a |
|
mock.py
| https://github.com/python/cpython/pull/16192/files#diff-347d0254250a1ab7ab8e31b405e2c35b74cd2838df4ee74f1b658a459eb91f1a |
|
testasync.py
| https://github.com/python/cpython/pull/16192/files#diff-508b9898f44acd7e46719a7317694876c83035922a09db5f83b2236db9f34f0a |
|
testmock.py
| https://github.com/python/cpython/pull/16192/files#diff-8f62756a81a581bd6e786e17dc7067e56d2befefa048e94670ef45ca494ec0c9 |
|
2019-09-16-09-54-42.bpo-38136.MdI-Zb.rst
| https://github.com/python/cpython/pull/16192/files#diff-19ef344b6e613967318a8ab1dc8c641b8af342f781f2d21b8d6297f569f096e8 |
| Doc/library/unittest.mock.rst | https://github.com/python/cpython/pull/16192/files#diff-e24490db2cf4ecf0da79ab5fe9aa0ab7de1b333424356e079a5d56a263d2082a |
|
View file
| https://github.com/lisroach/cpython/blob/564adc432d50b9bcf891800a3c49aff155eee841/Doc/library/unittest.mock.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/16192/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/16192/files#diff-e24490db2cf4ecf0da79ab5fe9aa0ab7de1b333424356e079a5d56a263d2082a |
|
| https://github.com/python/cpython/pull/16192/files#diff-e24490db2cf4ecf0da79ab5fe9aa0ab7de1b333424356e079a5d56a263d2082a |
|
| https://github.com/python/cpython/pull/16192/files#diff-e24490db2cf4ecf0da79ab5fe9aa0ab7de1b333424356e079a5d56a263d2082a |
|
| https://github.com/python/cpython/pull/16192/files#diff-e24490db2cf4ecf0da79ab5fe9aa0ab7de1b333424356e079a5d56a263d2082a |
|
| https://github.com/python/cpython/pull/16192/files#diff-e24490db2cf4ecf0da79ab5fe9aa0ab7de1b333424356e079a5d56a263d2082a |
|
| https://github.com/python/cpython/pull/16192/files#diff-e24490db2cf4ecf0da79ab5fe9aa0ab7de1b333424356e079a5d56a263d2082a |
| Lib/unittest/mock.py | https://github.com/python/cpython/pull/16192/files#diff-347d0254250a1ab7ab8e31b405e2c35b74cd2838df4ee74f1b658a459eb91f1a |
|
View file
| https://github.com/lisroach/cpython/blob/564adc432d50b9bcf891800a3c49aff155eee841/Lib/unittest/mock.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/16192/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/16192/files#diff-347d0254250a1ab7ab8e31b405e2c35b74cd2838df4ee74f1b658a459eb91f1a |
|
| https://github.com/python/cpython/pull/16192/files#diff-347d0254250a1ab7ab8e31b405e2c35b74cd2838df4ee74f1b658a459eb91f1a |
|
| https://github.com/python/cpython/pull/16192/files#diff-347d0254250a1ab7ab8e31b405e2c35b74cd2838df4ee74f1b658a459eb91f1a |
|
| https://github.com/python/cpython/pull/16192/files#diff-347d0254250a1ab7ab8e31b405e2c35b74cd2838df4ee74f1b658a459eb91f1a |
| Lib/unittest/test/testmock/testasync.py | https://github.com/python/cpython/pull/16192/files#diff-508b9898f44acd7e46719a7317694876c83035922a09db5f83b2236db9f34f0a |
|
View file
| https://github.com/lisroach/cpython/blob/564adc432d50b9bcf891800a3c49aff155eee841/Lib/unittest/test/testmock/testasync.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/16192/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/16192/files#diff-508b9898f44acd7e46719a7317694876c83035922a09db5f83b2236db9f34f0a |
|
| https://github.com/python/cpython/pull/16192/files#diff-508b9898f44acd7e46719a7317694876c83035922a09db5f83b2236db9f34f0a |
|
| https://github.com/python/cpython/pull/16192/files#diff-508b9898f44acd7e46719a7317694876c83035922a09db5f83b2236db9f34f0a |
| Please reload this page | https://github.com/python/cpython/pull/16192/files |
| Please reload this page | https://github.com/python/cpython/pull/16192/files |
| Please reload this page | https://github.com/python/cpython/pull/16192/files |
| Please reload this page | https://github.com/python/cpython/pull/16192/files |
| Please reload this page | https://github.com/python/cpython/pull/16192/files |
| Please reload this page | https://github.com/python/cpython/pull/16192/files |
|
| https://github.com/python/cpython/pull/16192/files#diff-508b9898f44acd7e46719a7317694876c83035922a09db5f83b2236db9f34f0a |
|
| https://github.com/python/cpython/pull/16192/files#diff-508b9898f44acd7e46719a7317694876c83035922a09db5f83b2236db9f34f0a |
|
| https://github.com/python/cpython/pull/16192/files#diff-508b9898f44acd7e46719a7317694876c83035922a09db5f83b2236db9f34f0a |
|
| https://github.com/python/cpython/pull/16192/files#diff-508b9898f44acd7e46719a7317694876c83035922a09db5f83b2236db9f34f0a |
|
| https://github.com/python/cpython/pull/16192/files#diff-508b9898f44acd7e46719a7317694876c83035922a09db5f83b2236db9f34f0a |
|
| https://github.com/python/cpython/pull/16192/files#diff-508b9898f44acd7e46719a7317694876c83035922a09db5f83b2236db9f34f0a |
| Lib/unittest/test/testmock/testmock.py | https://github.com/python/cpython/pull/16192/files#diff-8f62756a81a581bd6e786e17dc7067e56d2befefa048e94670ef45ca494ec0c9 |
|
View file
| https://github.com/lisroach/cpython/blob/564adc432d50b9bcf891800a3c49aff155eee841/Lib/unittest/test/testmock/testmock.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/16192/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/16192/files#diff-8f62756a81a581bd6e786e17dc7067e56d2befefa048e94670ef45ca494ec0c9 |
|
| https://github.com/python/cpython/pull/16192/files#diff-8f62756a81a581bd6e786e17dc7067e56d2befefa048e94670ef45ca494ec0c9 |
|
| https://github.com/python/cpython/pull/16192/files#diff-8f62756a81a581bd6e786e17dc7067e56d2befefa048e94670ef45ca494ec0c9 |
| tirkarthi | https://github.com/tirkarthi |
| Sep 16, 2019 | https://github.com/python/cpython/pull/16192/files#r324825081 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/16192/files |
|
| https://github.com/python/cpython/pull/16192/files#diff-8f62756a81a581bd6e786e17dc7067e56d2befefa048e94670ef45ca494ec0c9 |
| Misc/NEWS.d/next/Library/2019-09-16-09-54-42.bpo-38136.MdI-Zb.rst | https://github.com/python/cpython/pull/16192/files#diff-19ef344b6e613967318a8ab1dc8c641b8af342f781f2d21b8d6297f569f096e8 |
|
View file
| https://github.com/lisroach/cpython/blob/564adc432d50b9bcf891800a3c49aff155eee841/Misc/NEWS.d/next/Library/2019-09-16-09-54-42.bpo-38136.MdI-Zb.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/16192/{{ revealButtonHref }} |
| Please reload this page | https://github.com/python/cpython/pull/16192/files |
|
| 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 |