On Tue, Nov 16, 2021 at 1:15 AM Brett Cannon email@example.com wrote:
But have they been raising exceptions for two releases?
As I wrote previously, the DeprecationWarning warning is only emitted at runtime since Python 3.10.
Since my PR got 5 approvals, I just merged it: https://github.com/python/cpython/pull/29521
The asyncore, asynchat and smtpd modules are now removed in Python 3.11. You should now use asyncio and aiosmtpd instead.
Note: the binhex module has also been removed in Python 3.11. It emitted a DeprecationWarning in Python 3.9 and 3.10.