[issue25002] Deprecate asyncore/asynchat

Serhiy Storchaka report at bugs.python.org
Tue Oct 25 14:11:25 EDT 2016


Serhiy Storchaka added the comment:

I think replacing

    import asynchat
    import asyncore

with

    with warnings.catch_warnings():
        warnings.simplefilter('ignore', PendingDeprecationWarning)
        import asynchat
        import asyncore

can help.

asynchat and asyncore are used in several tests.

In long term asynchat and asyncore should be replaced with alternatives.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25002>
_______________________________________


More information about the Python-bugs-list mailing list