This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Mariatta, aeros, asvetlov, barry, dankreso, grzgrzgrz3, iritkatriel, jacksonriley, nanjekyejoannah, vstinner, yselivanov
Date 2021-11-11.12:17:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1636633069.66.0.930659862442.issue28533@roundup.psfhosted.org>
In-reply-to
Content
I wrote PR 29521 to remove the asyncore, asynchat and smtpd modules.

> libregrtest/save_env.py only checks that asyncore.socket_map is not modified, we can keep it until asyncore is really removed.

I chose to remove it instead of my PR.

> test_support.py only tests that it's possible to have a "clean" import of asyncore, it can be easily be replaced later.

This code has been removed in the meanwhile.

> But then a lot of code starts with to fail -Werror.

While tests using asyncore, asynchat and smtpd have been modified to catch the DeprecationWarning warning, I chose to remove this warning in my PR, since I made the 3 modules private. I don't think that test.support private modules must emit deprecation warnings.

> So the first step is to decide if it's ok to remove smtpd right now.

IMO it's ok to remove it since it is deprecated since Python 3.6.

> asyncore, asynchat and smtpd are all deprecated now, for removal in 3.12.

Did you see an explicit mention of Python 3.12? I only saw mention of "Python 3.6" which is the version when the 3 modules were deprecated.
History
Date User Action Args
2021-11-11 12:17:49vstinnersetrecipients: + vstinner, barry, asvetlov, yselivanov, grzgrzgrz3, Mariatta, nanjekyejoannah, aeros, jacksonriley, dankreso, iritkatriel
2021-11-11 12:17:49vstinnersetmessageid: <1636633069.66.0.930659862442.issue28533@roundup.psfhosted.org>
2021-11-11 12:17:49vstinnerlinkissue28533 messages
2021-11-11 12:17:49vstinnercreate