Running this utility in the scope of some other package (parsedmarc), I ran into an issue of it failing with the following message:
AttributeError: property 'file' of 'IMAP4_TLS' object has no setter.
From what I could quickly gather, this is triggered by the following call:
|
self.file = self.sock.makefile("rb") |
This call no longer seems to be valid in Python 3.14 due to changes in the imaplib library to the file property:
https://github.com/python/cpython/blob/5cea8435943b4f9d22c89c80d86c2ba3b392c6f9/Lib/imaplib.py#L322-L336
(see also python/cpython@0fef47e).
Running this utility in the scope of some other package (
parsedmarc), I ran into an issue of it failing with the following message:AttributeError: property 'file' of 'IMAP4_TLS' object has no setter.From what I could quickly gather, this is triggered by the following call:
imapclient/imapclient/tls.py
Line 56 in 391cc6d
This call no longer seems to be valid in Python 3.14 due to changes in the
imapliblibrary to thefileproperty:https://github.com/python/cpython/blob/5cea8435943b4f9d22c89c80d86c2ba3b392c6f9/Lib/imaplib.py#L322-L336
(see also python/cpython@0fef47e).