Add note to asyncore/asynchat recommending asyncio for new code.

This commit is contained in:
Guido van Rossum 2013-11-22 11:57:35 -08:00
parent 5467da860c
commit aa40775817
2 changed files with 6 additions and 0 deletions

View File

@ -10,6 +10,9 @@
--------------
Note: This module exists for backwards compatibility only. For new code we
recommend using :module:`asyncio`.
This module builds on the :mod:`asyncore` infrastructure, simplifying
asynchronous clients and servers and making it easier to handle protocols
whose elements are terminated by arbitrary strings, or are of variable length.

View File

@ -13,6 +13,9 @@
--------------
Note: This module exists for backwards compatibility only. For new code we
recommend using :module:`asyncio`.
This module provides the basic infrastructure for writing asynchronous socket
service clients and servers.