-
-
Notifications
You must be signed in to change notification settings - Fork 31.4k
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
tests still rely on the removed stdlib modules asyncore/asynchat #93243
Comments
This requires finishing #1864 (which I need to get back to). |
Asyncore-based test servers from |
gh-93243 This PR is required to reduce diffs of the following porting (no need to either maintain documentation and tests consistent with each porting step, or try to port everything and remove smtpd in a single PR). Automerge-Triggered-By: GH:warsaw
…-93246) pythongh-93243 This PR is required to reduce diffs of the following porting (no need to either maintain documentation and tests consistent with each porting step, or try to port everything and remove smtpd in a single PR). Automerge-Triggered-By: GH:warsaw
Changing the title to reflect what still needs to be done. |
PEP 594 has been fully implemented: asyncore, asynchat and smtpd have been removed from the stdlib. Some tests still use asyncore, asynchat and smtpd: there is now a copy in Lib/test/support/ only for tests. While it would be nice to rewrite these tests using asyncio or threads, it seems like no one is interested to work on that. I suggest to close the issue as "not planned". It's ok to leave tests are they are, since tests are now reliable and stable. |
I agree. |
Reference: PEP 594 – Removing dead batteries from the standard library.
This issue tracks removal of the following modules:
asyncore
andasynchat
modules #96580)Lib/test/smtpd.py
,PCbuild/*
Lib/test/support/async(hat|ore).py
,PCbuild/*
Related issues:
The text was updated successfully, but these errors were encountered: