mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Revert "bpo-28533: Remove asyncore, asynchat, smtpd modules (GH-29521)" (GH-29951)
This reverts commit 9bf2cbc4c4
.
This commit is contained in:
parent
2bf551757e
commit
cf7eaa4617
28 changed files with 3228 additions and 34 deletions
|
@ -4,7 +4,6 @@ import sys
|
|||
import unittest
|
||||
import unittest.mock
|
||||
from test import support
|
||||
from test.support import _asyncore as asyncore
|
||||
from test.support import import_helper
|
||||
from test.support import os_helper
|
||||
from test.support import socket_helper
|
||||
|
@ -31,6 +30,10 @@ try:
|
|||
except ImportError:
|
||||
ctypes = None
|
||||
|
||||
import warnings
|
||||
with warnings.catch_warnings():
|
||||
warnings.simplefilter('ignore', DeprecationWarning)
|
||||
import asyncore
|
||||
|
||||
ssl = import_helper.import_module("ssl")
|
||||
import _ssl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue