René's URL Explorer Experiment


Title: bpo-42611: PEP 594 - Remove asyncore, asynchat, and smptd from stdlib by aeros · Pull Request #23728 · python/cpython · GitHub

Open Graph Title: bpo-42611: PEP 594 - Remove asyncore, asynchat, and smptd from stdlib by aeros · Pull Request #23728 · python/cpython

X Title: bpo-42611: PEP 594 - Remove asyncore, asynchat, and smptd from stdlib by aeros · Pull Request #23728 · python/cpython

Description: As per PEP 594, this PR removes asyncore, asynchat, and smptd. This includes any documentation, tests, and source code, except for parts that were needed for existing tests. Those were moved to Lib/test/support/, and the essential parts were determined through usage of coverage.py. After I removed test_, I looked to see which members were utilized in the existing tests, and removed any that were not used. I did not do any partial removals though; e.g. specific unused branches within a member that is otherwise used. I also left unused __repr__ for debugging purposes. For improved communication and convenience to users, importing any of the 3 removed modules after these changes results in the following: raise ImportError( "As of 3.10, has been removed from the standard library, see " "PEP 594 for details. An archived (no longer maintained) version exists " "at https://github.com/tiran/legacylib" ) This could potentially be removed in couple versions if needed, but since it imposes no real maintenance burden I think we can leave the custom ImportError indefinitely. The only change would possibly be updating tiran/legacylib to python/legacylib, assuming it is eventually moved there. https://bugs.python.org/issue42611

Open Graph Description: As per PEP 594, this PR removes asyncore, asynchat, and smptd. This includes any documentation, tests, and source code, except for parts that were needed for existing tests. Those were moved to Lib...

X Description: As per PEP 594, this PR removes asyncore, asynchat, and smptd. This includes any documentation, tests, and source code, except for parts that were needed for existing tests. Those were moved to Lib...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:b437a7d5-b866-bac1-d2b2-8f1800f06f14
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB12C:C9E9C:53AE93:763819:696A0E6D
html-safe-nonced4911f28b0ec844a99025702bdd4dafe1cf949bd5527b21ecc882f0d6a577b1d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTJDOkM5RTlDOjUzQUU5Mzo3NjM4MTk6Njk2QTBFNkQiLCJ2aXNpdG9yX2lkIjoiMTI0MzI1ODc0NjI1MDIzNTk3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac2759417cc917f9e837b49c3b6214cae5b4c150a8ced68972e9a274ccd64a8496
hovercard-subject-tagpull_request:535633324
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/23728/files
twitter:imagehttps://avatars.githubusercontent.com/u/44193521?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/44193521?s=400&v=4
og:image:altAs per PEP 594, this PR removes asyncore, asynchat, and smptd. This includes any documentation, tests, and source code, except for parts that were needed for existing tests. Those were moved to Lib...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None699227a00bbb7fe1eec276d2ae1c3a93068bc5ba483bd9dc4b2a27a8f4f2f595
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
release7266b2d935baa1c6474b16dd9feaa5ca30607261
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/23728/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F23728%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%2F23728%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/23728/files
Reloadhttps://github.com/python/cpython/pull/23728/files
Reloadhttps://github.com/python/cpython/pull/23728/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/23728/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/23728/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
aeroshttps://github.com/aeros
python:mainhttps://github.com/python/cpython/tree/main
aeros:remove-asycore-asynchat-smtpdhttps://github.com/aeros/cpython/tree/remove-asycore-asynchat-smtpd
Conversation 3 https://github.com/python/cpython/pull/23728
Commits 5 https://github.com/python/cpython/pull/23728/commits
Checks 0 https://github.com/python/cpython/pull/23728/checks
Files changed https://github.com/python/cpython/pull/23728/files
Please reload this pagehttps://github.com/python/cpython/pull/23728/files
bpo-42611: PEP 594 - Remove asyncore, asynchat, and smptd from stdlib https://github.com/python/cpython/pull/23728/files#top
Show all changes 5 commits https://github.com/python/cpython/pull/23728/files
c060dcb Remove asyncore, asynchat, and smptd aeros Dec 10, 2020 https://github.com/python/cpython/pull/23728/commits/c060dcbab726d9891ff89038e12df5bbfd6dd7fb
dfb3e37 Fix whitespace aeros Dec 10, 2020 https://github.com/python/cpython/pull/23728/commits/dfb3e3765783f1d4f11adbc7fae544d4f4e62a67
cbf67d3 📜🤖 Added by blurb_it. blurb-it[bot] Dec 10, 2020 https://github.com/python/cpython/pull/23728/commits/cbf67d3522865163b4c55774590035ed00aec1aa
ee6c2f3 Remove module references in doc ToC aeros Dec 10, 2020 https://github.com/python/cpython/pull/23728/commits/ee6c2f3977b26f182b665b59b8a2c941907026bc
1a2a823 Use concurrent.futures for test_support test_CleanImport aeros Dec 10, 2020 https://github.com/python/cpython/pull/23728/commits/1a2a8235a29be73596e18f8f76fa7c561e0cf90b
Clear filters https://github.com/python/cpython/pull/23728/files
Please reload this pagehttps://github.com/python/cpython/pull/23728/files
Please reload this pagehttps://github.com/python/cpython/pull/23728/files
asynchat.rst https://github.com/python/cpython/pull/23728/files#diff-d90b512cb69ab745a27c679029101dbdbe3add60d2e9800f3819eb104cbcf5eb
asyncore.rst https://github.com/python/cpython/pull/23728/files#diff-cf091bc9fea63bc4fbb2e21d41fb4923d46d59926b4a9d642fa8f8b4978d17aa
internet.rst https://github.com/python/cpython/pull/23728/files#diff-253f200d67a4cb57795d1dbe02f888f404791e68c21fb2af1b0eef5ec8ea1d0e
ipc.rst https://github.com/python/cpython/pull/23728/files#diff-e7884d42970bc56d57d7588b6ca44fd03c7eaa29d1d1920f6abbfc5b5f6f03c5
smtpd.rst https://github.com/python/cpython/pull/23728/files#diff-cbe787c23a8dcfb1dd9ac834cb593d04e0ee6fc6cf24c4d2f11b621273d5a726
asynchat.py https://github.com/python/cpython/pull/23728/files#diff-bf9326f5b29f0ca1187a51fce696d551803d3a660708f3e441df088cec5cf078
asyncore.py https://github.com/python/cpython/pull/23728/files#diff-01ee2588a875a4eae9f82d026b861a3e95bbf3b8024085bbe938c3c006443512
smtpd.py https://github.com/python/cpython/pull/23728/files#diff-8496ca72babe2e2256a90d4a05714b9824ee0c6849851751b3b6498af916d590
asynchat.py https://github.com/python/cpython/pull/23728/files#diff-ef7fbf30a95521d4261815f51cc84d793ddff2292f35582ea26e594c472a5c96
asyncore.py https://github.com/python/cpython/pull/23728/files#diff-8853da793c679b90658025bcdf67bbc9b1139b5513dffc807ed591805315a3cf
smtpd.py https://github.com/python/cpython/pull/23728/files#diff-2a5e6254bbc3b7e57481fef9bc358147b1c5e14841189793fff52c294c9eb450
test_asynchat.py https://github.com/python/cpython/pull/23728/files#diff-1de04838a99c5fc1c66915da1d7a337c6f99a4d7230c1c5ecb3259429288ca40
test_asyncore.py https://github.com/python/cpython/pull/23728/files#diff-38a2b699c8f2aaf47fcf1d46bb572a0ff3c2ebb1edc4018026888c1cac59e21b
test_ftplib.py https://github.com/python/cpython/pull/23728/files#diff-a8c5efe8da26e420d823388f4b2f5f6325ecff8d34e132f4ce2b2b31fb8223a3
test_logging.py https://github.com/python/cpython/pull/23728/files#diff-bc15bb717afb8343ceee4cd4219559dc397092dcde20271f6e8708c2b132976f
test_os.py https://github.com/python/cpython/pull/23728/files#diff-5007f0845419916c8b0294481e2ee212ca36661d9843f86338ec42254645edfc
test_poplib.py https://github.com/python/cpython/pull/23728/files#diff-dfc395bb81472697996450e929ded612410a115bbc8274208d022c25c174693b
test_smtpd.py https://github.com/python/cpython/pull/23728/files#diff-1468e30dd719d78a8600d12ef60119f4649a9de32bf7ff42841dcd55df3f5c71
test_smtplib.py https://github.com/python/cpython/pull/23728/files#diff-05df76ac06a6e6dc7fd865579a9d02fab97ee2fc6dbfc8cf58fdb94396b9de28
test_ssl.py https://github.com/python/cpython/pull/23728/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
test_support.py https://github.com/python/cpython/pull/23728/files#diff-cb42fd26146ec61cb2242243494a9f314667a9a39153ad17e37465ff5a8a8000
2020-12-10-04-53-32.bpo-42611.UQsOn1.rst https://github.com/python/cpython/pull/23728/files#diff-0e957455b7796a8e83fde539c619f04d5724d6354741f27ac42eb6f0020e4369
Doc/library/asynchat.rsthttps://github.com/python/cpython/pull/23728/files#diff-d90b512cb69ab745a27c679029101dbdbe3add60d2e9800f3819eb104cbcf5eb
View file https://github.com/python/cpython/blob/7cf0aad96d1d20f07d7f0e374885f327c2d5ff27/Doc/library/asynchat.rst
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/python/cpython/pull/23728/files
Please reload this pagehttps://github.com/python/cpython/pull/23728/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.