← Back to DAGDA | Support | Source: https://github.com/python/steering-council/issues/86
Skip to content

Request PEP 387 exception for remove asyncore, asynchat and stmpd in Python 3.11 #86

Closed

Description

@vstinner

Context:

My PR got 5 approvals by core devs and so I merged it, but Brett wrote on python-dev:

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.

Activity

  1. vstinner commented on Nov 16, 2021

    @vstinner
    MemberAuthor

    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.

  2. vstinner commented on Nov 16, 2021

    @vstinner
    MemberAuthor

    asyncore/asynchat deprecation has a long history starting in 2015: https://bugs.python.org/issue25002

  3. hroncok commented on Dec 3, 2021

    @hroncok

    I must say I hope announcing changes on Twitter is not relevant to requests like this.

  4. vstinner commented on Dec 6, 2021

    @vstinner
    MemberAuthor

    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.

  5. brettcannon commented on Dec 6, 2021

    @brettcannon
    Member

    I must say I hope announcing changes on Twitter is not relevant to requests like this.

    I'm not quite sure what you're referring to (which I guess answers your question of how relevant Twitter is 😉)?

  6. pablogsal commented on Dec 7, 2021

    @pablogsal
    Member

    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.

  7. vstinner commented on Dec 7, 2021

    @vstinner
    MemberAuthor

    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.

  8. added a commit that references this issue on Dec 7, 2021
  9. added a commit that references this issue on Dec 7, 2021
  10. vstinner commented on Nov 8, 2022

    @vstinner
    MemberAuthor

    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.

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions