[issue11724] concurrent.futures: executor.submit() runs until completion even when future times out or is canceled
New submission from jenisys : A long running task that is submitted to an ThreadPoolExecutor runs to completion even when the future times out or is canceled. Even executor.shutdown(wait=False) will not help. HOW TO REPEAT: Provide a function which sleeps for 10 seconds. Submit it to a ThreadPoolExecutor. Wait on the future for the result for 2 seconds. OBSERVED BEHAVIOUR: 1. future times out after approx. 2 seconds 2. Process shutdown is delayed by an additional 8 seconds, meaning it waits until submitted task/function has completed. -- components: Library (Lib) messages: 132614 nosy: jenisys priority: normal severity: normal status: open title: concurrent.futures: executor.submit() runs until completion even when future times out or is canceled type: behavior versions: Python 3.2 ___ Python tracker <http://bugs.python.org/issue11724> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11724] concurrent.futures: executor.submit() runs until completion even when future times out or is canceled
Changes by jenisys : Added file: http://bugs.python.org/file21480/test_futures_more3.py ___ Python tracker <http://bugs.python.org/issue11724> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11724] concurrent.futures: executor.submit() runs until completion even when future times out or is canceled
Changes by jenisys : Added file: http://bugs.python.org/file21481/test_futures_more3.py ___ Python tracker <http://bugs.python.org/issue11724> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11724] concurrent.futures: executor.submit() runs until completion even when future times out or is canceled
Changes by jenisys : Removed file: http://bugs.python.org/file21480/test_futures_more3.py ___ Python tracker <http://bugs.python.org/issue11724> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11724] concurrent.futures: executor.submit() runs until completion even when future times out or is canceled
Changes by jenisys : Added file: http://bugs.python.org/file21482/test_futures_more3.py ___ Python tracker <http://bugs.python.org/issue11724> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11724] concurrent.futures: executor.submit() runs until completion even when future times out or is canceled
Changes by jenisys : Removed file: http://bugs.python.org/file21481/test_futures_more3.py ___ Python tracker <http://bugs.python.org/issue11724> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com