Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 33.9k
gh-72719: Remove deprecated asyncore and asynchat modules#96580
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Conversation
sobolevn commented Sep 5, 2022 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
92a5bab to 97d7bc8CompareUh oh!
There was an error while loading. Please reload this page.
arhadthedev commented Sep 25, 2022
I think it would be great to have this PR merged before 3.12.0a1 (3 October, 2022, after 7 days) to allow third party library maintainers and early adopters to report scenarios possible in |
sobolevn commented Sep 25, 2022
Ping @pablogsal as release manager 🙂 |
pablogsal commented Sep 25, 2022
Thanks for checking with me! One note, the RM for 3.12 is @Yhg1s so he should probably also take a look |
bedevere-bot commented Sep 25, 2022
arhadthedev commented Oct 6, 2022
@Yhg1s Is there any chance to get this PR accepted into 3.12.0a1? It seems we've got some extra time until the release blockers are resolved. |
Misc/NEWS.d/next/Library/2022-09-05-17-08-56.gh-issue-72719.jUpzF3.rst Outdated Show resolvedHide resolved
Uh oh!
There was an error while loading. Please reload this page.
…pzF3.rst Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| @@ -0,0 +1,3 @@ | |||
| Remove modules :mod:`asyncore` and :mod:`asynchat`, which were deprecated by :pep:`594`. | |||
| They are temporarily moved to :mod:`test.support` so some other tests that rely on them keep working. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest to remove the second sentence. I prefer to hide them as well as possible :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, thank you for the review!
vstinner left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove last references:
- Doc/library/socketserver.rst
- Doc/license.rst: update the module names
@giampaolo: Would you be ok to be removed from github/CODEOWNERS for asyncore/asynchat, so these files should not longer be updated but just die?
vstinner commented Nov 7, 2022
When I removed the module last year (commit), I even renamed the asyncore module to |
giampaolo commented Nov 7, 2022
sure, no problem |
sobolevn commented Nov 7, 2022
Done, all three - removed! |
vstinner left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, there is now a conflict. Can you try to rebase your PR? Or try to merge main into your PR?
Please keep the license, files are still around, they are just moved somewhere else.
Uh oh!
There was an error while loading. Please reload this page.
vstinner left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
vstinner commented Nov 8, 2022
Merged, thanks. Let's see how it goes with Python 3.12. |
sobolevn commented Nov 8, 2022
Thank you for your guidance and help! |
vstinner commented Nov 8, 2022
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Several notes:
smtpdin gh-93243: Make smtpd private before porting its users #93246 It was suggested in Remove asyncore, asynchat and smtpd modules #72719 (comment) by @vstinnerTODOitems about completely removing these modules in the futurePEP: https://peps.python.org/pep-0594/