Skip to content

Commit

Permalink
bpo-28533: Remove asyncore, asynchat, smtpd modules (GH-29521)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
vstinner authored Nov 15, 2021
1 parent 3352834 commit 9bf2cbc
Show file tree
Hide file tree
Showing 28 changed files with 34 additions and 3,228 deletions.
2 changes: 0 additions & 2 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,6 @@ Lib/ast.py @isidentical

**/*typing* @gvanrossum @Fidget-Spinner

**/*asyncore @giampaolo
**/*asynchat @giampaolo
**/*ftplib @giampaolo
**/*shutil @giampaolo

Expand Down
213 changes: 0 additions & 213 deletions Doc/library/asynchat.rst

This file was deleted.

Loading

0 comments on commit 9bf2cbc

Please sign in to comment.