[PATCH 1/3] Re: Remove a darwin-specific workaround for read()

Nicolas Sebrecht nicolas.s-dev at laposte.net
Tue Mar 22 17:46:19 GMT 2011


On Tue, Mar 22, 2011 at 03:51:42PM +0100, Vincent Beffara wrote:
> 
> Because of a buggy realloc() implementation in earlier versions of
> Python on Mac OS X, we had to cut reads into manageable chunks by hand;
> this is no more needed with Python 2.6, and besides it causes problems
> with imaplib2, which we now use. Revert the special case to use the
> system's read() instead, which is now safe.
> 
> Signed-off-by: Vincent Beffara <vbeffara at ens-lyon.fr>

Looks good to me; applied.
Thanks, Vincent.

-- 
Nicolas Sebrecht




More information about the OfflineIMAP-project mailing list