mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
gh-72719: Remove asyncore and asynchat modules (#96580)
Remove modules asyncore and asynchat, which were deprecated by PEP 594. Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
parent
c43714fbcd
commit
e56e33d271
21 changed files with 32 additions and 1762 deletions
|
@ -47,6 +47,7 @@ from test.support import os_helper
|
|||
from test.support import socket_helper
|
||||
from test.support import threading_helper
|
||||
from test.support import warnings_helper
|
||||
from test.support import asyncore
|
||||
from test.support.logging_helper import TestHandler
|
||||
import textwrap
|
||||
import threading
|
||||
|
@ -64,9 +65,6 @@ from socketserver import (ThreadingUDPServer, DatagramRequestHandler,
|
|||
with warnings.catch_warnings():
|
||||
from . import smtpd
|
||||
|
||||
asyncore = warnings_helper.import_deprecated('asyncore')
|
||||
|
||||
|
||||
try:
|
||||
import win32evtlog, win32evtlogutil, pywintypes
|
||||
except ImportError:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue