python / cpython

The Python programming language
https://www.python.org/
Other
61.37k stars 29.56k forks source link

tests still rely on the removed stdlib modules asyncore/asynchat #93243

Open arhadthedev opened 2 years ago

arhadthedev commented 2 years ago

Reference: PEP 594 – Removing dead batteries from the standard library.

This issue tracks removal of the following modules:

Related issues:

JelleZijlstra commented 2 years ago

This requires finishing #1864 (which I need to get back to).

arhadthedev commented 2 years ago

Asyncore-based test servers from test_ftp and test_logging cannot be ported to asyncio, the tested clients are blocking. However, instead of writing a server thread class from scratch, it would be nice to reuse test.support.threading_helper.Server from gh-92475.

iritkatriel commented 8 months ago

Changing the title to reflect what still needs to be done.