| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c800f9cb-2a4a-3e0c-4dbc-2c60c6fb2cbc |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | ED12:23348E:8480C4:B3142A:696AB56B |
| html-safe-nonce | 5b7a8b618473adc19d8fee8f875cd88a39d0fa7ceaab93bca4eca9cb878633c1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDEyOjIzMzQ4RTo4NDgwQzQ6QjMxNDJBOjY5NkFCNTZCIiwidmlzaXRvcl9pZCI6Ijc1ODIxNzYxODQ4MzMzMjQzOTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | abf613ebfd908ebb2362ea3a3241fc1cfd2697d471ef5835440fd3ee3e48d75e |
| hovercard-subject-tag | pull_request:1339784815 |
| 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/104199/files |
| twitter:image | https://avatars.githubusercontent.com/u/66076021?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/66076021?s=400&v=4 |
| og:image:alt | This is a continuation of @serhiy-storchaka's PR #31432, but removes the deprecation warnings for ast.ExtSlice and ast.Index, which were only deprecated in Python 3.9 (rationale for excluding t... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4fa1799b6a53c2d30c950d74230781bef9e7f61138c72c7727e4b83f0743752b |
| 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 | 41f276818bd204c4a30a0281fb3c576298d9474c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/104199/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F104199%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%2F104199%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/104199/files |
| Reload | https://github.com/python/cpython/pull/104199/files |
| Reload | https://github.com/python/cpython/pull/104199/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/104199/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/104199/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 |
| AlexWaygood | https://github.com/AlexWaygood |
| python:main | https://github.com/python/cpython/tree/main |
| AlexWaygood:ast-deprecation-warnings | https://github.com/AlexWaygood/cpython/tree/ast-deprecation-warnings |
|
Conversation
20
| https://github.com/python/cpython/pull/104199 |
|
Commits
29
| https://github.com/python/cpython/pull/104199/commits |
|
Checks
0
| https://github.com/python/cpython/pull/104199/checks |
|
Files changed
| https://github.com/python/cpython/pull/104199/files |
| Please reload this page | https://github.com/python/cpython/pull/104199/files |
|
gh-90953: Emit deprecation warnings for ast features deprecated in Python 3.8
| https://github.com/python/cpython/pull/104199/files#top |
|
Show all changes
29 commits
| https://github.com/python/cpython/pull/104199/files |
|
8de6eba
bpo-46797: Emit deprecation warnings for deprecated ast features
serhiy-storchaka Feb 19, 2022
| https://github.com/python/cpython/pull/104199/commits/8de6eba6d7bcbe9bce0264edacae00675430a535 |
|
7908047
Merge branch 'main' into ast-deprecation-warnings
serhiy-storchaka May 8, 2022
| https://github.com/python/cpython/pull/104199/commits/79080472ae27aea04b626af3ec9b186d5031c431 |
|
dfedc35
Merge branch 'main' into ast-deprecation-warnings
iritkatriel Nov 27, 2022
| https://github.com/python/cpython/pull/104199/commits/dfedc3564f12eee8fe33b2e1e40327f8f0c958a9 |
|
b2ca297
Merge branch 'main' into ast-deprecation-warnings
serhiy-storchaka Dec 3, 2022
| https://github.com/python/cpython/pull/104199/commits/b2ca29740bb741e1e78b56e4b12dba652e8979bf |
|
fbd02f3
Merge branch 'main' into ast-deprecation-warnings
iritkatriel Dec 6, 2022
| https://github.com/python/cpython/pull/104199/commits/fbd02f3868ebf4e424c3b92275fe09b6936f6a82 |
|
4320111
Merge branch 'main' into ast-deprecation-warnings
hugovk May 4, 2023
| https://github.com/python/cpython/pull/104199/commits/43201111053f2003fed3c2fbbf61edd6e782864d |
|
fdefe87
fix patchcheck
AlexWaygood May 4, 2023
| https://github.com/python/cpython/pull/104199/commits/fdefe87709bd774b9d02ac584cd52884a5da9ecb |
|
60ab0c4
Remove `DeprecationWarning`s for `Index` and `ExtSlice`
AlexWaygood May 4, 2023
| https://github.com/python/cpython/pull/104199/commits/60ab0c400f1ee88d498c1d1a146742557f7c02e0 |
|
951c548
Also emit DeprecationWarning during `isinstance()` checks
AlexWaygood May 5, 2023
| https://github.com/python/cpython/pull/104199/commits/951c5487f575fb52eac7bc569ec6d59a0abeabdd |
|
9025b7e
Add whatsnew
AlexWaygood May 5, 2023
| https://github.com/python/cpython/pull/104199/commits/9025b7e8c2f21ba60e7aeb8ba17aa34b356af3d7 |
|
3d2de74
Tweak news entry
AlexWaygood May 5, 2023
| https://github.com/python/cpython/pull/104199/commits/3d2de749eabc8d14b67f020c1b20804c744d8f8e |
|
4b818b6
Merge branch 'main' into ast-deprecation-warnings
AlexWaygood May 5, 2023
| https://github.com/python/cpython/pull/104199/commits/4b818b6263a6d40bcf8da1d49a59aaedae4f5a1d |
|
6e9f5f5
Apply suggestions from code review
AlexWaygood May 5, 2023
| https://github.com/python/cpython/pull/104199/commits/6e9f5f5fb0fc4c89bdc55ccd317e1852882b750e |
|
8f86b9a
Use `warnings._deprecated
AlexWaygood May 5, 2023
| https://github.com/python/cpython/pull/104199/commits/8f86b9a1e88c863253d09537edd64a9014a078ae |
|
7e4cf89
Merge branch 'ast-deprecation-warnings' of https://github.com/AlexWay…
AlexWaygood May 5, 2023
| https://github.com/python/cpython/pull/104199/commits/7e4cf89a711e505b6f1aca57536724e5d13b9c12 |
|
8c949f3
Move whatsnew entry to correct location
AlexWaygood May 5, 2023
| https://github.com/python/cpython/pull/104199/commits/8c949f37a9650273c9933ae5ad4190cabeabcebf |
|
4a7a9c1
Merge branch 'main' into ast-deprecation-warnings
AlexWaygood May 5, 2023
| https://github.com/python/cpython/pull/104199/commits/4a7a9c19fc6ce9f3dbe053f5c873969d0ae14a88 |
|
3d71e66
Revert spurious whitespace change
AlexWaygood May 5, 2023
| https://github.com/python/cpython/pull/104199/commits/3d71e66cb4321b68ab822c631d72855298e1dd80 |
|
4261cc6
Revert warning for `dims` attribute (only deprecated in 3.9)
AlexWaygood May 5, 2023
| https://github.com/python/cpython/pull/104199/commits/4261cc6551fea02f50dc33c4a406cc5e149c1683 |
|
a785a0c
Also remove deprecation for `ast.slice`, deprecated in 3.9
AlexWaygood May 5, 2023
| https://github.com/python/cpython/pull/104199/commits/a785a0c22c4c60d36b44588e63a152a564dab87a |
|
a3491ea
Better unittest style
AlexWaygood May 5, 2023
| https://github.com/python/cpython/pull/104199/commits/a3491eab5e5b8c0dbc2fff4c58e99626f1ba2ed9 |
|
3613908
.
AlexWaygood May 5, 2023
| https://github.com/python/cpython/pull/104199/commits/3613908df40549c493dd56fca9dfcb62e42dd5ae |
|
9bba5dd
Update 3.12.rst
AlexWaygood May 5, 2023
| https://github.com/python/cpython/pull/104199/commits/9bba5dd5d4332997e559003bcb35067936c73531 |
|
234243a
typo
AlexWaygood May 5, 2023
| https://github.com/python/cpython/pull/104199/commits/234243a3f26aa0790e29405c1a73f1c8471b4c19 |
|
915e12e
Add comment explaining subtle code
AlexWaygood May 6, 2023
| https://github.com/python/cpython/pull/104199/commits/915e12e363c3e6891ce9882be2bce7c7bb2cec8c |
|
a7abed2
Simplify slightly
AlexWaygood May 6, 2023
| https://github.com/python/cpython/pull/104199/commits/a7abed267655bcaad41ad14a16ab33ee93f7e1dc |
|
7ceb9cc
Unnecessary f-string
AlexWaygood May 6, 2023
| https://github.com/python/cpython/pull/104199/commits/7ceb9ccf9a10a2c7f405a516f938843996bda259 |
|
ecf092f
One last nit
AlexWaygood May 6, 2023
| https://github.com/python/cpython/pull/104199/commits/ecf092fdc290d63676020c504f7a1303fe9f1a9d |
|
dd3e1e1
Merge branch 'main' into ast-deprecation-warnings
AlexWaygood May 6, 2023
| https://github.com/python/cpython/pull/104199/commits/dd3e1e1be7467587057201d0d2f4eeb1d3eb0671 |
|
Clear filters
| https://github.com/python/cpython/pull/104199/files |
| Please reload this page | https://github.com/python/cpython/pull/104199/files |
| Please reload this page | https://github.com/python/cpython/pull/104199/files |
|
3.12.rst
| https://github.com/python/cpython/pull/104199/files#diff-0f2c1763c64530268325a0ee2dfaa4f5d555c4ac27deb78bd77102c8ce1b886b |
|
ast.py
| https://github.com/python/cpython/pull/104199/files#diff-abeeed217a24ce3c21e15c2e32e2f0886cea69986c2641455c1eefc983c1f977 |
|
test_ast.py
| https://github.com/python/cpython/pull/104199/files#diff-3f516b60719dd445d33225e4f316b36e85c9c51a843a0147349d11a005c55937 |
|
2022-02-19-14-19-34.bpo-46797.6BXZX4.rst
| https://github.com/python/cpython/pull/104199/files#diff-cf538546576a50d5a6464cfdeb9e21c6ff5df53535116671f718715c3ce4a830 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L114 |
| Doc/whatsnew/3.12.rst | https://github.com/python/cpython/pull/104199/files#diff-0f2c1763c64530268325a0ee2dfaa4f5d555c4ac27deb78bd77102c8ce1b886b |
|
View file
| https://github.com/AlexWaygood/cpython/blob/dd3e1e1be7467587057201d0d2f4eeb1d3eb0671/Doc/whatsnew/3.12.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/104199/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/104199/files#diff-0f2c1763c64530268325a0ee2dfaa4f5d555c4ac27deb78bd77102c8ce1b886b |
|
| https://github.com/python/cpython/pull/104199/files#diff-0f2c1763c64530268325a0ee2dfaa4f5d555c4ac27deb78bd77102c8ce1b886b |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L201 |
| Lib/ast.py | https://github.com/python/cpython/pull/104199/files#diff-abeeed217a24ce3c21e15c2e32e2f0886cea69986c2641455c1eefc983c1f977 |
|
View file
| https://github.com/AlexWaygood/cpython/blob/dd3e1e1be7467587057201d0d2f4eeb1d3eb0671/Lib/ast.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/104199/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/104199/files#diff-abeeed217a24ce3c21e15c2e32e2f0886cea69986c2641455c1eefc983c1f977 |
|
| https://github.com/python/cpython/pull/104199/files#diff-abeeed217a24ce3c21e15c2e32e2f0886cea69986c2641455c1eefc983c1f977 |
|
| https://github.com/python/cpython/pull/104199/files#diff-abeeed217a24ce3c21e15c2e32e2f0886cea69986c2641455c1eefc983c1f977 |
|
| https://github.com/python/cpython/pull/104199/files#diff-abeeed217a24ce3c21e15c2e32e2f0886cea69986c2641455c1eefc983c1f977 |
|
| https://github.com/python/cpython/pull/104199/files#diff-abeeed217a24ce3c21e15c2e32e2f0886cea69986c2641455c1eefc983c1f977 |
| Please reload this page | https://github.com/python/cpython/pull/104199/files |
|
| https://github.com/python/cpython/pull/104199/files#diff-abeeed217a24ce3c21e15c2e32e2f0886cea69986c2641455c1eefc983c1f977 |
|
| https://github.com/python/cpython/pull/104199/files#diff-abeeed217a24ce3c21e15c2e32e2f0886cea69986c2641455c1eefc983c1f977 |
|
| https://github.com/python/cpython/pull/104199/files#diff-abeeed217a24ce3c21e15c2e32e2f0886cea69986c2641455c1eefc983c1f977 |
| Please reload this page | https://github.com/python/cpython/pull/104199/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 |