| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:d468c353-6631-3400-3a3a-03c9bd9b53ca |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D2A6:CD10D:3318DC:4174DB:696ADDCA |
| html-safe-nonce | cd2d724d363f79eef4b15ec21e3aa4e1747ceef7d9a943b7884d9607c4404af2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMkE2OkNEMTBEOjMzMThEQzo0MTc0REI6Njk2QUREQ0EiLCJ2aXNpdG9yX2lkIjoiMzI5MDY2MDEwNTUwOTA2ODIzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4016bf48e8ea282633c729fe5c6532361852b60851991593c4efed36e6227616 |
| hovercard-subject-tag | pull_request:630445221 |
| 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/25913/files |
| twitter:image | https://avatars.githubusercontent.com/u/53339481?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/53339481?s=400&v=4 |
| og:image:alt | https://bugs.python.org/issue25872
https://bugs.python.org/issue25872 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 524a93f2c1f36522a3b4be4c110467ee4172245d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/25913/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F25913%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%2F25913%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/25913/files |
| Reload | https://github.com/python/cpython/pull/25913/files |
| Reload | https://github.com/python/cpython/pull/25913/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/25913/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
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/25913/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 |
| iritkatriel | https://github.com/iritkatriel |
| python:main | https://github.com/python/cpython/tree/main |
| uniocto:fix-issue-25872 | https://github.com/uniocto/cpython/tree/fix-issue-25872 |
|
Conversation
35
| https://github.com/python/cpython/pull/25913 |
|
Commits
21
| https://github.com/python/cpython/pull/25913/commits |
|
Checks
0
| https://github.com/python/cpython/pull/25913/checks |
|
Files changed
| https://github.com/python/cpython/pull/25913/files |
| Please reload this page | https://github.com/python/cpython/pull/25913/files |
|
bpo-25872: Add unit tests for linecache and threading
| https://github.com/python/cpython/pull/25913/files#top |
|
Show all changes
21 commits
| https://github.com/python/cpython/pull/25913/files |
|
5143e74
bpo-25872: add test_oserror
uniocto May 5, 2021
| https://github.com/python/cpython/pull/25913/commits/5143e745931fdb4855eedb7110d733251a0573db |
|
fc1f92d
refactor linecache
uniocto May 5, 2021
| https://github.com/python/cpython/pull/25913/commits/fc1f92d7c4be1a1f02fed8f40ce540775b3ddcac |
|
fc4df5d
add test_multithread_modify_file()
uniocto May 5, 2021
| https://github.com/python/cpython/pull/25913/commits/fc4df5dffbc054200d3714da365075ba8dbbc416 |
|
a977922
refactor test_threading
uniocto May 5, 2021
| https://github.com/python/cpython/pull/25913/commits/a9779223a268219f16ff07cdfaaa50648a88eb17 |
|
759de2b
refactor test_multithread_modify_file_noerror()
uniocto May 5, 2021
| https://github.com/python/cpython/pull/25913/commits/759de2b51f0c8a747505e930729c89be035b6175 |
|
5666a1d
refactor raise_oserror()
uniocto May 5, 2021
| https://github.com/python/cpython/pull/25913/commits/5666a1dbf04d8a6da50a21962e985cd799da25d9 |
|
4513859
Change black box tests and refactoring
uniocto May 8, 2021
| https://github.com/python/cpython/pull/25913/commits/451385948d4064a74bb25865599594595c3771bf |
|
8376d21
refactor LineCacheInvalidationTests
uniocto May 9, 2021
| https://github.com/python/cpython/pull/25913/commits/8376d21502d7ea88c7b263bcdedd7f461a7ef12d |
|
708e348
refactor test_multithread_modify_file_noerror
uniocto May 9, 2021
| https://github.com/python/cpython/pull/25913/commits/708e34836f06c0fad5bc35e884cdc2b282bd2fcc |
|
f021de2
refactor assertions
uniocto May 9, 2021
| https://github.com/python/cpython/pull/25913/commits/f021de2b942b2adf9790d4e0aa2e587ea7884fea |
|
a396fad
Update Lib/test/test_linecache.py
uniocto May 9, 2021
| https://github.com/python/cpython/pull/25913/commits/a396fadba9ae1e8d193a331c9c22b27b19a0f806 |
|
833c9b9
Update Lib/test/test_linecache.py
uniocto May 9, 2021
| https://github.com/python/cpython/pull/25913/commits/833c9b995784040919b382aee5dd4c50eb9042d9 |
|
bcc20ab
Update Lib/test/test_threading.py
uniocto May 9, 2021
| https://github.com/python/cpython/pull/25913/commits/bcc20abc7e0f41abf6413ebca5916fbc83fb546b |
|
ba62b83
change __file__ and rm traceback.format_stack
uniocto May 13, 2021
| https://github.com/python/cpython/pull/25913/commits/ba62b834d89c3b58ed59bddbe7d36962789caea2 |
|
420a638
add traceback
uniocto May 13, 2021
| https://github.com/python/cpython/pull/25913/commits/420a6381dd7470183ce12b436e9127bf702bb21e |
|
2c8269b
fix type in field name
iritkatriel May 14, 2021
| https://github.com/python/cpython/pull/25913/commits/2c8269b7f31177d85f5c42fb5c38aeca98be1b85 |
|
8efe040
reduce repetition in setUp
iritkatriel May 14, 2021
| https://github.com/python/cpython/pull/25913/commits/8efe040dba134d6d27e590a887feb07e376ff401 |
|
240eb9a
check cache keys directly, not count
iritkatriel May 14, 2021
| https://github.com/python/cpython/pull/25913/commits/240eb9af7e3ee167373323398dd01f6beb212767 |
|
f66a050
Merge pull request #2 from iritkatriel/pr25913
uniocto May 15, 2021
| https://github.com/python/cpython/pull/25913/commits/f66a050c06bfe1921afe25ab8d189d4d1668b880 |
|
78897e7
addCleanup to outside of the mofidy_file()
uniocto May 15, 2021
| https://github.com/python/cpython/pull/25913/commits/78897e772b379b605ebe21eb3099a383fbb94fc1 |
|
ac550ef
Merge remote-tracking branch 'upstream/main' into fix-issue-25872
uniocto May 17, 2021
| https://github.com/python/cpython/pull/25913/commits/ac550efeee204153c0480f79e8bffd306d4988d3 |
|
Clear filters
| https://github.com/python/cpython/pull/25913/files |
| Please reload this page | https://github.com/python/cpython/pull/25913/files |
| Please reload this page | https://github.com/python/cpython/pull/25913/files |
|
test_linecache.py
| https://github.com/python/cpython/pull/25913/files#diff-bb1ec965bc56ed5873d2ae11444eb31021571c15e1becc703feb88233fe2dd75 |
|
test_threading.py
| https://github.com/python/cpython/pull/25913/files#diff-8b4c7f5f9b60a27c4132899af6fa7157c7f1e57a0b6213bc616fe72fba04c168 |
| Lib/test/test_linecache.py | https://github.com/python/cpython/pull/25913/files#diff-bb1ec965bc56ed5873d2ae11444eb31021571c15e1becc703feb88233fe2dd75 |
|
View file
| https://github.com/uniocto/cpython/blob/ac550efeee204153c0480f79e8bffd306d4988d3/Lib/test/test_linecache.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/25913/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/25913/files#diff-bb1ec965bc56ed5873d2ae11444eb31021571c15e1becc703feb88233fe2dd75 |
| Lib/test/test_threading.py | https://github.com/python/cpython/pull/25913/files#diff-8b4c7f5f9b60a27c4132899af6fa7157c7f1e57a0b6213bc616fe72fba04c168 |
|
View file
| https://github.com/uniocto/cpython/blob/ac550efeee204153c0480f79e8bffd306d4988d3/Lib/test/test_threading.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/25913/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/25913/files#diff-8b4c7f5f9b60a27c4132899af6fa7157c7f1e57a0b6213bc616fe72fba04c168 |
|
| https://github.com/python/cpython/pull/25913/files#diff-8b4c7f5f9b60a27c4132899af6fa7157c7f1e57a0b6213bc616fe72fba04c168 |
|
| https://github.com/python/cpython/pull/25913/files#diff-8b4c7f5f9b60a27c4132899af6fa7157c7f1e57a0b6213bc616fe72fba04c168 |
|
| https://github.com/python/cpython/pull/25913/files#diff-8b4c7f5f9b60a27c4132899af6fa7157c7f1e57a0b6213bc616fe72fba04c168 |
| Please reload this page | https://github.com/python/cpython/pull/25913/files |
| Please reload this page | https://github.com/python/cpython/pull/25913/files |
|
| https://github.com/python/cpython/pull/25913/files#diff-8b4c7f5f9b60a27c4132899af6fa7157c7f1e57a0b6213bc616fe72fba04c168 |
|
| 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 |