You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Request PEP 387 exception for remove asyncore, asynchat and stmpd in Python 3.11 #86
I don't think it should be ignored and the modules got yanked prematurely. A request can be made to the SC, though, to expedite the removal with only one release raising an exception.
So I formally asks for a SC exception for this removal. If it's rejeted, I understand that the module should be restored.
I'm not using Twitter as a poll to take decisions, it's only to attempt to announce the change to as much persons as possible before Python 3.11 is released. So if something goes wrong, there is enough time until "3.11.0 final: Monday, 2022-10-03" to revert the change.
After some exhaustive discussion, the Steering Council has decided to reject the proposal to remove asynccore, asyncchat and stmpd in Python 3.11. We strongly believe that we should strictly follow the backward compatibility policy. As the deprecation warnings for these modules have not been active for at least two releases and the fact that this is deprecating entire module has led us to consider that this doesn't qualify for an exception. Following our decision, the changes in PR29521 should be reverted at the earliest convenience.
We sympathize with the fact that these modules have been marked as deprecated for a long time and the arguments exposed, but we want to remark on the importance of following procedure and the importance of good communication and the trust relationship between the core team and users. This has to lead us to decide as described previously.
Please, feel free to reopen the issue if you have questions or you wish to discuss some aspect of the decision.
The removal is now covered by PEP 594, approved by the SC.
I must say I hope announcing changes on Twitter is not relevant to requests like this.
No, it's not. I communicated on python-dev. I also made an announcement on Twitter to attempt to notify people who are not subscribed to this mailing list. I'm trying to communicate as much as possible on incompatible changes so people have more time before Python 3.12 final release to adapt their code. But these announcements are not a justification for the removal.
Reacted by Erlend E. Aasland and Hugo van Kemenade
Activity
vstinner commentedon Nov 16, 2021
I advertized the removal on What's New in Python 3.11, python-dev and Twitter to make sure that most people are aware of the removal.
I'm not using Twitter as a poll to take decisions, it's only to attempt to announce the change to as much persons as possible before Python 3.11 is released. So if something goes wrong, there is enough time until "3.11.0 final: Monday, 2022-10-03" to revert the change.
vstinner commentedon Nov 16, 2021
asyncore/asynchat deprecation has a long history starting in 2015: https://bugs.python.org/issue25002
hroncok commentedon Dec 3, 2021
I must say I hope announcing changes on Twitter is not relevant to requests like this.
vstinner commentedon Dec 6, 2021
I searched for
import (asyncore|asynchat|smtpd)in the source code of PyPI top 5000 project. At December 1st, 21 projects match this regex and I warned 2 projects. See https://bugs.python.org/issue28533#msg407559 for more details.brettcannon commentedon Dec 6, 2021
I'm not quite sure what you're referring to (which I guess answers your question of how relevant Twitter is 😉)?
pablogsal commentedon Dec 7, 2021
After some exhaustive discussion, the Steering Council has decided to reject the proposal to remove
asynccore,asyncchatandstmpdin Python 3.11. We strongly believe that we should strictly follow the backward compatibility policy. As the deprecation warnings for these modules have not been active for at least two releases and the fact that this is deprecating entire module has led us to consider that this doesn't qualify for an exception. Following our decision, the changes in PR29521 should be reverted at the earliest convenience.We sympathize with the fact that these modules have been marked as deprecated for a long time and the arguments exposed, but we want to remark on the importance of following procedure and the importance of good communication and the trust relationship between the core team and users. This has to lead us to decide as described previously.
Please, feel free to reopen the issue if you have questions or you wish to discuss some aspect of the decision.
vstinner commentedon Dec 7, 2021
Ok, I created python/cpython#29951 to add again asyncore, asynchat and smtpd in Python 3.11. I also reopened https://bugs.python.org/issue28533.
Correct allowlists
Update allowlist notes (#6528)
vstinner commentedon Nov 8, 2022
FYI these modules are removed again in Python 3.12: python/cpython#72719
The removal is now covered by PEP 594, approved by the SC.
No, it's not. I communicated on python-dev. I also made an announcement on Twitter to attempt to notify people who are not subscribed to this mailing list. I'm trying to communicate as much as possible on incompatible changes so people have more time before Python 3.12 final release to adapt their code. But these announcements are not a justification for the removal.