René's URL Explorer Experiment


Title: gh-90953: Emit deprecation warnings for `ast` features deprecated in Python 3.8 by AlexWaygood · Pull Request #104199 · python/cpython · GitHub

Open Graph Title: gh-90953: Emit deprecation warnings for `ast` features deprecated in Python 3.8 by AlexWaygood · Pull Request #104199 · python/cpython

X Title: gh-90953: Emit deprecation warnings for `ast` features deprecated in Python 3.8 by AlexWaygood · Pull Request #104199 · python/cpython

Description: 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 them: #31432 (comment)). Issue: gh-90953 📚 Documentation preview 📚: https://cpython-previews--104199.org.readthedocs.build/

Open Graph Description: 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...

X Description: 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 excludi...

Opengraph URL: https://github.com/python/cpython/pull/104199

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:c800f9cb-2a4a-3e0c-4dbc-2c60c6fb2cbc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idED12:23348E:8480C4:B3142A:696AB56B
html-safe-nonce5b7a8b618473adc19d8fee8f875cd88a39d0fa7ceaab93bca4eca9cb878633c1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDEyOjIzMzQ4RTo4NDgwQzQ6QjMxNDJBOjY5NkFCNTZCIiwidmlzaXRvcl9pZCI6Ijc1ODIxNzYxODQ4MzMzMjQzOTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacabf613ebfd908ebb2362ea3a3241fc1cfd2697d471ef5835440fd3ee3e48d75e
hovercard-subject-tagpull_request:1339784815
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/104199/files
twitter:imagehttps://avatars.githubusercontent.com/u/66076021?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/66076021?s=400&v=4
og:image:altThis 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_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None4fa1799b6a53c2d30c950d74230781bef9e7f61138c72c7727e4b83f0743752b
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release41f276818bd204c4a30a0281fb3c576298d9474c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://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 AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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
Reloadhttps://github.com/python/cpython/pull/104199/files
Reloadhttps://github.com/python/cpython/pull/104199/files
Reloadhttps://github.com/python/cpython/pull/104199/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://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 pagehttps://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 servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
AlexWaygoodhttps://github.com/AlexWaygood
python:mainhttps://github.com/python/cpython/tree/main
AlexWaygood:ast-deprecation-warningshttps://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 pagehttps://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 pagehttps://github.com/python/cpython/pull/104199/files
Please reload this pagehttps://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.rsthttps://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.pyhttps://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 pagehttps://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 pagehttps://github.com/python/cpython/pull/104199/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.