Emil Lind added the comment: I'm uploading my first patch. Heavily based on the related issues for ftplib and poplib. Need help with review and a few questions...
Q1: Is the error Exception the right way to handle the "breach" (disconnects client?) or is there a better way? Like a 'BAD' response... Q2: I'm not sure how to best modify the test_imaplib for this patch. I'm guessing a make_server where the client gets MAXLINE+1 bytes of data and validates exception. But it's above my abilities right now... I welcome any input, thanks. note: patch seems to apply to 2.7, 3.2, 3.3, 3.4 ---------- keywords: +patch nosy: +Emil.Lind Added file: http://bugs.python.org/file29254/imaplib.issue16039.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16039> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com