mirror of
https://github.com/python/cpython.git
synced 2025-08-09 19:38:42 +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
|
@ -77,7 +77,7 @@ import getopt
|
|||
import time
|
||||
import socket
|
||||
import collections
|
||||
from test.support.import_helper import import_module
|
||||
from test.support import asyncore, asynchat
|
||||
from warnings import warn
|
||||
from email._header_value_parser import get_addr_spec, get_angle_addr
|
||||
|
||||
|
@ -85,9 +85,6 @@ __all__ = [
|
|||
"SMTPChannel", "SMTPServer", "DebuggingServer", "PureProxy",
|
||||
]
|
||||
|
||||
asyncore = import_module('asyncore', deprecated=True)
|
||||
asynchat = import_module('asynchat', deprecated=True)
|
||||
|
||||
program = sys.argv[0]
|
||||
__version__ = 'Python SMTP proxy version 0.3'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue