◐ Shell
clean mode source ↗

gh-76007: Deprecate `__version__` attribute in `imaplib` by hugovk · Pull Request #140299 · python/cpython

Conversation

@hugovk

@hugovk hugovk commented

Oct 18, 2025

edited by bedevere-app Bot

Loading

johnslavik

@hugovk hugovk changed the title Deprecate __version__ attribute in imaplib gh-76007: Deprecate __version__ attribute in imaplib

Oct 18, 2025

@picnixz

I think it is fine to remove it. We anyway have a divergence between 3.13 and 3.14 because 3.14 had a new feature and 3.13 and 3.14 had bugfixes that I addes, so it would only help if we had both the version of Python and the IMAP one.

IMO such debugging information could only be useful if the Python version also included the git commit it is based on but that would be an overkill I think.

vstinner

Co-authored-by: Victor Stinner <vstinner@python.org>

vstinner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hugovk hugovk deleted the 3.15-deprecate-__version__-imaplib branch

October 20, 2025 12:20

StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull request

Dec 6, 2025
…n#140299)

Co-authored-by: Victor Stinner <vstinner@python.org>