summaryrefslogtreecommitdiffstats
path: root/Lib/asynchat.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2016-10-26 01:42:51 (GMT)
committerGuido van Rossum <guido@python.org>2016-10-26 01:42:51 (GMT)
commit66078ac5d022cf68f5fcd8875649e4e6527648c8 (patch)
treeef32389d7ea56b53c4a87275b2a6bfc448303ccf /Lib/asynchat.py
parent3dca62440cd555dd574367ec1bfec8ea47262c6b (diff)
downloadcpython-66078ac5d022cf68f5fcd8875649e4e6527648c8.zip
cpython-66078ac5d022cf68f5fcd8875649e4e6527648c8.tar.gz
cpython-66078ac5d022cf68f5fcd8875649e4e6527648c8.tar.bz2
Issue #25002: Back out asyncore/asynchat deprecation.
Diffstat (limited to 'Lib/asynchat.py')
-rw-r--r--Lib/asynchat.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/Lib/asynchat.py b/Lib/asynchat.py
index fede592..fc1146a 100644
--- a/Lib/asynchat.py
+++ b/Lib/asynchat.py
@@ -46,13 +46,8 @@ method) up to the terminator, and then control will be returned to
you - by calling your self.found_terminator() method.
"""
import asyncore
-import warnings
-
from collections import deque
-warnings.warn(
- 'asynchat module is deprecated in 3.6. Use asyncio instead.',
- PendingDeprecationWarning, stacklevel=2)
class async_chat(asyncore.dispatcher):
"""This is an abstract class. You must derive from this class, and add