[issue23647] imaplib.py MAXLINE value is too low for gmail

2022-03-19 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue23647] imaplib.py MAXLINE value is too low for gmail

2015-03-24 Thread Arnt Gulbrandsen
Arnt Gulbrandsen added the comment: Length limits has actually been discussed and rejected; noone had a proposal that solved more problems than it introduced. -- ___ Python tracker

[issue23647] imaplib.py MAXLINE value is too low for gmail

2015-03-24 Thread R. David Murray
R. David Murray added the comment: Yes, I agree that that is a concern. What should probably happen is that the maximum line length be a settable parameter with a "reasonable" default. It is too bad that (unlike say the SMTP protocol) the imap protocol does not address this directly. --

[issue23647] imaplib.py MAXLINE value is too low for gmail

2015-03-23 Thread Arnt Gulbrandsen
Arnt Gulbrandsen added the comment: You're entirely right. I should've reread 2683 too (a decade has passed since I read that). The danger with accepting the unlimited line length is that batch scripts might accept an infinitely large batch. Which is a matter of python culture, really. (This

[issue23647] imaplib.py MAXLINE value is too low for gmail

2015-03-22 Thread R. David Murray
Changes by R. David Murray : -- keywords: -patch stage: commit review -> needs patch ___ Python tracker ___ ___ Python-bugs-list mail

[issue23647] imaplib.py MAXLINE value is too low for gmail

2015-03-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset a56aa567072c by R David Murray in branch '2.7': #23647: Increase imaplib's MAXLINE to accommodate modern mailbox sizes. https://hg.python.org/cpython/rev/a56aa567072c New changeset c1348ada8fc6 by R David Murray in branch '3.4': #23647: Increase ima

[issue23647] imaplib.py MAXLINE value is too low for gmail

2015-03-22 Thread R. David Murray
R. David Murray added the comment: Now that I've had time to look at this, I see that in fact RFC2683 says nothing about what value MAXLINE should have, unless one is reasoning by analogy. It is concerned with *command line* lengths from the client to the server, not about server responses.

[issue23647] imaplib.py MAXLINE value is too low for gmail

2015-03-12 Thread R. David Murray
R. David Murray added the comment: Sorry, I was being a facetious, but despite the smiley that wasn't clear. I *have* run into a number of cases where gmail violates the standard, but I wasn't really serious about this case. -- ___ Python tracker

[issue23647] imaplib.py MAXLINE value is too low for gmail

2015-03-12 Thread Arnt Gulbrandsen
Arnt Gulbrandsen added the comment: The RFC in question is 2683, which isn't a standard, it's just advice. What gmail breaks is the expectation that mailboxes and seach results are smallish. If you run a python script on gmail and it runs a search, the result can be a great deal bigger than th

[issue23647] imaplib.py MAXLINE value is too low for gmail

2015-03-12 Thread R. David Murray
Changes by R. David Murray : -- stage: -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue23647] imaplib.py MAXLINE value is too low for gmail

2015-03-12 Thread R. David Murray
R. David Murray added the comment: Gmail breaks the standards again, eh? I suppose we'll have to accommodate them ;) -- components: +email nosy: +barry, r.david.murray title: imaplib.py MAXLINE value is too low for 2015 (patch attached) -> imaplib.py MAXLINE value is too low for gmail