bpo-28533: Remove asyncore, asynchat, smtpd modules by vstinner · Pull Request #29521 · python/cpython (original) (raw)

vstinner

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.

https://bugs.python.org/issue28533

@vstinner

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.

@vstinner

warsaw

orsenthil

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tiran

gvanrossum

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's time for these long-deprecated packages to leave.

vsajip

@bedevere-bot

🤖 New build scheduled with the buildbot fleet by @tiran for commit 1bf97aa 🤖

If you want to schedule another build, you need to add the "🔨 test-with-buildbots" label again.

@vstinner

I looked at buildbot failures:

@vstinner

Merged. I prefer to merge such change early in the 3.11 devcycle, so we can revert it if it breaks too many projects.

Thanks for the reviews and approvals!

vstinner added a commit that referenced this pull request

Dec 7, 2021

@vstinner

remykarem pushed a commit to remykarem/cpython that referenced this pull request

Dec 7, 2021

@vstinner @remykarem

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.

@Karlson2k