[Imaplib2-devel] imaplib2 debugging

Sebastian Spaeth sebastian at sspaeth.de
Mon May 9 07:30:38 BST 2011


On Mon, 09 May 2011 06:31:01 +1000, Piers Lauder <piers at janeelix.com> wrote:
> No, that can be restated as:
>   (debug is not None and debug) or (Debug is not None and Debug) or 0
> Which is the same as:
>   debug or Debug or 0
> which is an int (provided debug and Debug are).  Deprecated Python idiom :-)

DOH, and that was me thinking boolean arithmetic leads to boolean
results :). I am clearly a python rookie ;)

Thanks for the patience with me...

Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20110509/15579677/attachment-0001.sig>


More information about the OfflineIMAP-project mailing list