Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
gh-72719: Remove deprecatedasyncore andasynchat 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 ourterms of service andprivacy 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
Uh oh!
There was an error while loading.Please reload this page.
92a5bab to97d7bc8CompareUh oh!
There was an error while loading.Please reload this page.
arhadthedev commentedSep 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 commentedSep 25, 2022
Ping@pablogsal as release manager 🙂 |
pablogsal commentedSep 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 commentedSep 25, 2022
arhadthedev commentedOct 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 OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
…pzF3.rstCo-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 fromgithub/CODEOWNERS for asyncore/asynchat, so these files should not longer be updated but just die?
vstinner commentedNov 7, 2022
When I removed the module last year (commit), I even renamed the asyncore module to |
giampaolo commentedNov 7, 2022
sure, no problem |
sobolevn commentedNov 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 commentedNov 8, 2022
Merged, thanks. Let's see how it goes with Python 3.12. |
sobolevn commentedNov 8, 2022
Thank you for your guidance and help! |
vstinner commentedNov 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.
Uh oh!
There was an error while loading.Please reload this page.
Several notes:
smtpdingh-93243: Make smtpd private before porting its users #93246 It was suggested inRemove asyncore, asynchat and smtpd modules #72719 (comment) by@vstinnerTODOitems about completely removing these modules in the futurePEP:https://peps.python.org/pep-0594/