aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2016-10-25 18:42:51 -0700
committerGuido van Rossum <guido@python.org>2016-10-25 18:42:51 -0700
commit66078ac5d022cf68f5fcd8875649e4e6527648c8 (patch)
treeef32389d7ea56b53c4a87275b2a6bfc448303ccf /Lib/asynchat.py
parentIssue #26240: Merge subprocess doc string from 3.5 into 3.6 (diff)
downloadcpython-66078ac5d022cf68f5fcd8875649e4e6527648c8.tar.gz
cpython-66078ac5d022cf68f5fcd8875649e4e6527648c8.tar.bz2
cpython-66078ac5d022cf68f5fcd8875649e4e6527648c8.zip
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 fede592126b..fc1146adbb1 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