Message232643
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. |
|
Date |
User |
Action |
Args |
2014-12-14 22:47:29 | advance512 | set | recipients:
+ advance512 |
2014-12-14 22:47:29 | advance512 | set | messageid: <1418597249.2.0.790454761619.issue23051@psf.upfronthosting.co.za> |
2014-12-14 22:47:29 | advance512 | link | issue23051 messages |
2014-12-14 22:47:28 | advance512 | create | |
|