From: Dave A. <da...@bo...> - 2012-11-14 01:24:22
|
on Tue Nov 13 2012, Piers Lauder <piers-AT-janeelix.com> wrote: > Hi Dave, > > Actually, I'm surprised it finishes at all. Calling "open" is redundant > immediately after instantiation, as open is already called in __init__. > So you are opening two simultaneous streams here. The differences > between imaplib and imaplib2 under these circumstances are probably > due to the > use of threading in the second, but I'm only guessing. > > So your second run above is the correct usage. > > Hope that helps. It does; thank you very much! -- Dave Abrahams BoostPro Computing Software Development Training http://www.boostpro.com Clang/LLVM/EDG Compilers C++ Boost |