| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:3bddf26b-e038-7d84-2236-f5c66f6bd17b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8F3A:171DD4:1BB7B43:24D068F:6A52CC0A |
| html-safe-nonce | a935f3a2b6e66cbc26e8ac6e524faac090cae382fdadd5a2ef97f3e049b22f61 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjNBOjE3MURENDoxQkI3QjQzOjI0RDA2OEY6NkE1MkNDMEEiLCJ2aXNpdG9yX2lkIjoiMzA5MDY4NTQ4NzYyNDY3MDIxOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 14663d3f46684e0f2782d364bc73b9be14ece7b6cc3daa8613df2a2edc582dc2 |
| hovercard-subject-tag | pull_request:3517369500 |
| 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/148373/files |
| twitter:image | https://avatars.githubusercontent.com/u/154746713?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/154746713?s=400&v=4 |
| og:image:alt | Fixes #148285
Replaces closed PR #148367
The Issue:
Currently, analyzer.py forces any uop with records_value == True to be at index 0. This prevents Tier 2 recording uops from safely trailing Tier... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/148373/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F148373%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%2F148373%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/148373/files |
| Reload | https://github.com/python/cpython/pull/148373/files |
| Reload | https://github.com/python/cpython/pull/148373/files |
| Please reload this page | https://github.com/python/cpython/pull/148373/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/148373/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 |
| adityakrmishra | https://github.com/adityakrmishra |
| python:main | https://github.com/python/cpython/tree/main |
| adityakrmishra:fix-uop-recording-v2 | https://github.com/adityakrmishra/cpython/tree/fix-uop-recording-v2 |
|
Conversation
20
| https://github.com/python/cpython/pull/148373 |
|
Commits
6
| https://github.com/python/cpython/pull/148373/commits |
|
Checks
74
| https://github.com/python/cpython/pull/148373/checks |
|
Files changed
| https://github.com/python/cpython/pull/148373/files |
| Please reload this page | https://github.com/python/cpython/pull/148373/files |
|
gh-148285: Allow recording uops after specializing uops
| https://github.com/python/cpython/pull/148373/files#top |
|
Show all changes
6 commits
| https://github.com/python/cpython/pull/148373/files |
|
ca81806
gh-148285: Allow recording uops after specializing uops
adityakrmishra Apr 11, 2026
| https://github.com/python/cpython/pull/148373/commits/ca81806af3aaf7ec47e10017aa4bcaa182f3497b |
|
440b823
Apply reviewer suggestions, add tests, and regen cases
adityakrmishra Apr 11, 2026
| https://github.com/python/cpython/pull/148373/commits/440b8230cb1e823d820811acba63ffb02562454a |
|
1bbac01
Add missing mypy return type annotation in test
adityakrmishra Apr 11, 2026
| https://github.com/python/cpython/pull/148373/commits/1bbac01df0106f4085160df21f0314e8be6b362e |
|
d9df27e
Revert generated C files to upstream state to fix CRLF
adityakrmishra Apr 11, 2026
| https://github.com/python/cpython/pull/148373/commits/d9df27ecf8b3c1bd301e287f3aee55b83d0584c7 |
|
eb3ea3f
Move tests to Lib/test and simplify prev_uop tracking per review
adityakrmishra Apr 12, 2026
| https://github.com/python/cpython/pull/148373/commits/eb3ea3f7203578a2b5cd386ef9c28ab25d51abd8 |
|
ae7d3da
Convert line endings to LF, revert C files, delete old test
adityakrmishra Apr 12, 2026
| https://github.com/python/cpython/pull/148373/commits/ae7d3daaef6313f13b027ea9a56f670118dc239e |
|
Clear filters
| https://github.com/python/cpython/pull/148373/files |
| Please reload this page | https://github.com/python/cpython/pull/148373/files |
| Please reload this page | https://github.com/python/cpython/pull/148373/files |
|
test_generated_cases.py
| https://github.com/python/cpython/pull/148373/files#diff-9168c63f7de36279d370ea7d6403f554f48e6da75e82b6b70b5a207a11848750 |
|
optimizer_bytecodes.c
| https://github.com/python/cpython/pull/148373/files#diff-e5bd2b14b0b10f0f47786e26306d689ed1361c3dc3b11dcc3ea52b8a2422ff64 |
|
analyzer.py
| https://github.com/python/cpython/pull/148373/files#diff-bf1d5618934b787df486d8077f48217f17bf4321b9a151528f67b6e6f383976b |
| Lib/test/test_generated_cases.py | https://github.com/python/cpython/pull/148373/files#diff-9168c63f7de36279d370ea7d6403f554f48e6da75e82b6b70b5a207a11848750 |
|
View file
| https://github.com/adityakrmishra/cpython/blob/ae7d3daaef6313f13b027ea9a56f670118dc239e/Lib/test/test_generated_cases.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/148373/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/148373/files#diff-9168c63f7de36279d370ea7d6403f554f48e6da75e82b6b70b5a207a11848750 |
|
| https://github.com/python/cpython/pull/148373/files#diff-9168c63f7de36279d370ea7d6403f554f48e6da75e82b6b70b5a207a11848750 |
|
| https://github.com/python/cpython/pull/148373/files#diff-9168c63f7de36279d370ea7d6403f554f48e6da75e82b6b70b5a207a11848750 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L307 |
| Python/optimizer_bytecodes.c | https://github.com/python/cpython/pull/148373/files#diff-e5bd2b14b0b10f0f47786e26306d689ed1361c3dc3b11dcc3ea52b8a2422ff64 |
|
View file
| https://github.com/adityakrmishra/cpython/blob/ae7d3daaef6313f13b027ea9a56f670118dc239e/Python/optimizer_bytecodes.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/148373/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/148373/files#diff-e5bd2b14b0b10f0f47786e26306d689ed1361c3dc3b11dcc3ea52b8a2422ff64 |
|
| https://github.com/python/cpython/pull/148373/files#diff-e5bd2b14b0b10f0f47786e26306d689ed1361c3dc3b11dcc3ea52b8a2422ff64 |
|
| https://github.com/python/cpython/pull/148373/files#diff-e5bd2b14b0b10f0f47786e26306d689ed1361c3dc3b11dcc3ea52b8a2422ff64 |
|
| https://github.com/python/cpython/pull/148373/files#diff-e5bd2b14b0b10f0f47786e26306d689ed1361c3dc3b11dcc3ea52b8a2422ff64 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L227 |
| Tools/cases_generator/analyzer.py | https://github.com/python/cpython/pull/148373/files#diff-bf1d5618934b787df486d8077f48217f17bf4321b9a151528f67b6e6f383976b |
|
View file
| https://github.com/adityakrmishra/cpython/blob/ae7d3daaef6313f13b027ea9a56f670118dc239e/Tools/cases_generator/analyzer.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/148373/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/148373/files#diff-bf1d5618934b787df486d8077f48217f17bf4321b9a151528f67b6e6f383976b |
|
| https://github.com/python/cpython/pull/148373/files#diff-bf1d5618934b787df486d8077f48217f17bf4321b9a151528f67b6e6f383976b |
|
| https://github.com/python/cpython/pull/148373/files#diff-bf1d5618934b787df486d8077f48217f17bf4321b9a151528f67b6e6f383976b |
|
| https://github.com/python/cpython/pull/148373/files#diff-bf1d5618934b787df486d8077f48217f17bf4321b9a151528f67b6e6f383976b |
| Please reload this page | https://github.com/python/cpython/pull/148373/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 |