Revert "bpo-28533: Remove asyncore, asynchat, smtpd modules (GH-29521)" (GH-29951)

This reverts commit 9bf2cbc4c4.
This commit is contained in:
Victor Stinner 2021-12-07 12:31:04 +01:00 committed by GitHub
parent 2bf551757e
commit cf7eaa4617
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 3228 additions and 34 deletions

View file

@ -18,13 +18,17 @@ except ImportError:
from unittest import TestCase, skipUnless
from test import support
from test.support import _asynchat as asynchat
from test.support import _asyncore as asyncore
from test.support import socket_helper
from test.support import threading_helper
from test.support import socket_helper
from test.support import warnings_helper
from test.support.socket_helper import HOST, HOSTv6
import warnings
with warnings.catch_warnings():
warnings.simplefilter('ignore', DeprecationWarning)
import asyncore
import asynchat
TIMEOUT = support.LOOPBACK_TIMEOUT
DEFAULT_ENCODING = 'utf-8'