Skip to content

[3.10] bpo-44498: Issue a deprecation warning on asynchat, asyncore and smtpd import (GH-26882) #26904

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 24, 2021

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jun 24, 2021

  • Issue a deprecation warning on smtpd import

  • Also issue DeprecationWarnings for asynchat and asyncore

  • Fix some tests

  • test___all__ requires the word 'module' or 'package' in the deprecation
    warning text, so add those to smtpd, asynchat, and asyncore.

  • In test_support, use pprint now instead of asyncore as the landmark.

  • Add What's New

  • Use ..deprecated::

  • Use ..deprecated::

  • Update Lib/smtpd.py

Co-authored-by: Miro Hrončok [email protected]

  • Update Doc/library/smtpd.rst

Co-authored-by: Miro Hrončok [email protected]

  • Import async{hat,ore} after the DeprecationWarning for this module

Co-authored-by: Miro Hrončok [email protected]
(cherry picked from commit 8488b85)

Co-authored-by: Barry Warsaw [email protected]

https://bugs.python.org/issue44498

Automerge-Triggered-By: GH:warsaw

…d import (pythonGH-26882)

* Issue a deprecation warning on smtpd import

* Also issue DeprecationWarnings for asynchat and asyncore

* Fix some tests

* test___all__ requires the word 'module' or 'package' in the deprecation
  warning text, so add those to smtpd, asynchat, and asyncore.
* In test_support, use pprint now instead of asyncore as the landmark.

* Add What's New

* Use ..deprecated::

* Use ..deprecated::

* Update Lib/smtpd.py

Co-authored-by: Miro Hrončok <[email protected]>

* Update Doc/library/smtpd.rst

Co-authored-by: Miro Hrončok <[email protected]>

* Import async{hat,ore} after the DeprecationWarning for this module

Co-authored-by: Miro Hrončok <[email protected]>
(cherry picked from commit 8488b85)

Co-authored-by: Barry Warsaw <[email protected]>
@miss-islington
Copy link
Contributor Author

@warsaw: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor Author

@warsaw: Status check is done, and it's a success ✅ .

2 similar comments
@miss-islington
Copy link
Contributor Author

@warsaw: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor Author

@warsaw: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor Author

@miss-islington: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit a80a38e into python:3.10 Jun 24, 2021
@miss-islington miss-islington deleted the backport-8488b85-3.10 branch June 24, 2021 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants