[Bug 6700] New: tests/dummysmtpd.py uses deprecated asyncore module

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Mon May 9 15:34:31 UTC 2022


https://bz.mercurial-scm.org/show_bug.cgi?id=6700

            Bug ID: 6700
           Summary: tests/dummysmtpd.py uses deprecated asyncore module
           Product: Mercurial
           Version: default branch
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: victor.stinner at gmail.com
                CC: mercurial-devel at mercurial-scm.org
    Python Version: ---

The Python asyncore module will be removed in Python 3.12:
https://peps.python.org/pep-0594/

You should copy asyncore.py to tests/ or maintain this module externally.

In Python 3.11, "import asyncore" emits a DeprecationWarning (silent by
default): use "python -Wdefault" to show deprecation warnings.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list