Skip to content

Comments

gh-142307: deprecate legacy support for altering IMAP4.file#142335

Open
picnixz wants to merge 2 commits intopython:mainfrom
picnixz:fix/imaplib/property-142307
Open

gh-142307: deprecate legacy support for altering IMAP4.file#142335
picnixz wants to merge 2 commits intopython:mainfrom
picnixz:fix/imaplib/property-142307

Conversation

@picnixz
Copy link
Member

@picnixz picnixz commented Dec 6, 2025

The IMAP4.file attribute was never meant to be part of the public API. Previously, this attribute was created when opening a connection but subsequent changes may introduce a desynchronization with the underlying socket as the previous file is not closed.


📚 Documentation preview 📚: https://cpython-previews--142335.org.readthedocs.build/

The ``IMAP4.file`` attribute was never meant to be part of
the public API. Previously, this attribute was created when
opening a connection but subsequent changes may introduce a
desynchronization with the underlying socket as the previous
file is not closed.
@picnixz picnixz changed the title gh-142307: restore legacy support for altering IMAP4.file gh-142307: deprecate legacy support for altering IMAP4.file Dec 6, 2025
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.

2 participants