[New-bugs-announce] [issue47015] Update tests from asyncore to asyncio

Oleg Iarygin report at bugs.python.org
Mon Mar 14 16:38:01 EDT 2022


New submission from Oleg Iarygin <oleg at arhadthedev.net>:

PEP 594 – Removing dead batteries from the standard library [1] removes asyncore and asynchat in 3.12 with the following note:

> The asyncore module is also used in stdlib tests. The tests for ftplib, logging, smptd, smtplib, and ssl are partly based on asyncore. These tests must be updated to use asyncio or threading.

(Note: the tests for `os` module are not mentioned and smtpd will be removed in 3.12 along with its tests anyway)

I'm performing the update now to avoid keeping asynchat and asyncore as private subpackages of `test` package.

[1] https://peps.python.org/pep-0594/

----------
components: Tests
messages: 415185
nosy: arhadthedev
priority: normal
severity: normal
status: open
title: Update tests from asyncore to asyncio
type: enhancement
versions: Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47015>
_______________________________________


More information about the New-bugs-announce mailing list