← 输入框|github.com|刷新
Skip to content

bpo-28533: Remove asyncore, asynchat, smtpd modules - #29521

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:remove_asyncore
Nov 15, 2021
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:remove_asyncore

Conversation

@vstinner

@vstinner vstinner commented Nov 11, 2021 •

Copy link
Copy Markdown
Member

Remove the asyncore and asynchat modules, deprecated in Python
3.6: use the asyncio module instead.

Remove the smtpd module, deprecated in Python 3.6: the aiosmtpd
module can be used instead, it is based on asyncio.

  • Remove asyncore, asynchat and smtpd documentation
  • Remove test_asyncore, test_asynchat and test_smtpd
  • Rename Lib/asynchat.py to Lib/test/support/_asynchat.py
  • Rename Lib/asyncore.py to Lib/test/support/_asyncore.py
  • Rename Lib/smtpd.py to Lib/test/support/_smtpd.py
  • Remove DeprecationWarning from private _asyncore, _asynchat and
    _smtpd modules
  • _smtpd: remove deprecated properties

https://bugs.python.org/issue28533

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants