Author advance512
Recipients advance512
Date 2014-12-14.22:47:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1418597249.2.0.790454761619.issue23051@psf.upfronthosting.co.za>
In-reply-to
Content
When imap() or imap_unordered() are called with the iterable parameter set as a generator function, and when that generator function raises an exception, then the _task_handler thread (running the method _handle_tasks) dies immediately, without causing the other threads to stop and without reporting the exception to the main thread (that one that called imap()).

I saw this issue in Python 2.7.8, 2.7.9 and 3.4.2. Didn't check other versions, but I assume this is a bug in all Python versions since 2.6.

I will be attaching examples that reproduce this issue, as well as patches for both Python 2.7 and Python 3.4.
History
Date User Action Args
2014-12-14 22:47:29advance512setrecipients: + advance512
2014-12-14 22:47:29advance512setmessageid: <1418597249.2.0.790454761619.issue23051@psf.upfronthosting.co.za>
2014-12-14 22:47:29advance512linkissue23051 messages
2014-12-14 22:47:28advance512create