Skip to content

bpo-5430: Preservation LF, CR in IMAP4 append method.#10901

Closed
hobbestigrou wants to merge 1 commit into
python:mainfrom
hobbestigrou:5430-bpo_imap_lf_cr_preservation
Closed

bpo-5430: Preservation LF, CR in IMAP4 append method.#10901
hobbestigrou wants to merge 1 commit into
python:mainfrom
hobbestigrou:5430-bpo_imap_lf_cr_preservation

Conversation

@hobbestigrou

@hobbestigrou hobbestigrou commented Dec 4, 2018

Copy link
Copy Markdown

Preserve LF, CR in the append method.

Co-authored-by: Ron DuPlain ron.duplain@gmail.com

https://bugs.python.org/issue5430

Preserve LF, CR in the append method.

Co-authored-by: Ron DuPlain <ron.duplain@gmail.com>

@JulienPalard JulienPalard left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hi Natal! This PR is in complete contradiction with: https://bugs.python.org/issue723962

So I think it needs more discussion on the issue before being merged, and will probably needs to be modified before being merged (though the "Request changes").

Comment thread Lib/imaplib.py
br'"')
# Literal is no longer used; kept for backward compatibility.
Literal = re.compile(br'.*{(?P<size>\d+)}$', re.ASCII)
MapCRLF = re.compile(br'\r\n|\r|\n')

@JulienPalard JulienPalard Sep 13, 2019

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

In any cases, please don't remove it, one may be using it, please do as the previous Literal one, keep it but state it's no longer used and kept for backward compatibility.

@bedevere-bot

Copy link
Copy Markdown

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@AlexWaygood

Copy link
Copy Markdown
Member

Changes were requested over two years ago by a core dev, but have not been applied. I am therefore closing this PR.

@hobbestigrou, if you're still interested in working on this issue, feel free to open a new PR. Alternatively, ping me and I'll happily reopen the PR. Thanks! 🙂

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.

5 participants