Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Random832 Newsgroups: comp.lang.python Subject: Re: [stdlib-sig] Can imaplib be improved? Date: Tue, 29 Mar 2016 13:22:09 -0400 Lines: 11 Message-ID: References: <1458873222.2158998.559175002.3C7CEAF4@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de XkZlsrf/BERa0N9/Wq5naATKPppz98NBxv59BiQJYT2w== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:: [': 0.03; 'received:internal': 0.09; 'assume': 0.11; 'output': 0.13; 'server,': 0.15; 'thu,': 0.15; '24,': 0.16; 'message- id:@webmail.messagingengine.com': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:io': 0.16; 'received:messagingengine.com': 0.16; 'received:psf.io': 0.16; 'subject:sig': 0.16; 'thoughts?': 0.16; 'wrote:': 0.16; 'subject:] ': 0.19; 'posted': 0.21; 'header:In-Reply-To:1': 0.24; 'wondering': 0.25; 'handling': 0.27; 'mostly': 0.27; "i'd": 0.31; 'everyone': 0.31; 'anyone': 0.32; 'options': 0.33; 'list': 0.34; 'email addr:python.org': 0.36; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'received:10': 0.37; 'received:66': 0.38; 'data': 0.39; 'format': 0.39; 'subject:-': 0.39; 'to:addr:python.org': 0.40; 'ever': 0.60; 'header:Message-Id:1': 0.61; 'provide': 0.61; 'mar': 0.65; 'dead.': 0.84 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=lFSiVwJ4o1VBlBQpHCmM6exLRo8=; b=P8YUvC md91anrBxAFlIi5NV7VLZXjg7xeRqbQbo0OTx/FuoszSmMzGSJ6G4V65MvGgAOKT aQ4myLo0upJTfHeaR/i/H09qQUv6gHzRsj2W0YyQ+khig3NYEswDPtyRsSWqeZ9S G+NzmVDya8CFKIefmQmzUIh8MS/dI4NnkV+Bg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=lFSiVwJ4o1VBlBQ pHCmM6exLRo8=; b=PI1dXTpdVhQR8FU2VakcJ+kAX2iqRPz9Y6e3VSlZEs+L7Yz 2EQzYN5mSlQ+iBiQfEKjaSfKForEZyXg7xEPntS0USfEVDyANrhEiup+NnjkQg3o zhlVH07xwtJGOaSXUfAFxOs82ibMOVTElQCVSukxCB/XLtEog+VgeTDmKgFU= X-Sasl-Enc: EYqBsutOHiDNWJS77YINmbuUcgJoMujER6hRpk/FwW9P 1459272129 X-Mailer: MessagingEngine.com Webmail Interface - ajax-e7e8c9db In-Reply-To: <1458873222.2158998.559175002.3C7CEAF4@webmail.messagingengine.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:105995 I'd posted this to stdlib-sig@python.org without realizing that that list is mostly dead. On Thu, Mar 24, 2016, at 22:33, Random832 wrote: > I assume that everyone who has ever used imaplib is familiar with how > painful its output format is to deal with. I am wondering if anyone else > has any ideas on ways it can be extended in a backward-compatible way to > provide options for better parsing, handling unilateral data from the > server, processing data as it comes in, etc. Anyone have any thoughts?