[issue45443] 'ThreadPoolExecutor' object has no attribute 'map'

2021-10-13 Thread Zohim Chandani
Zohim Chandani added the comment: Please see attached. I have printed out the python version. Running this on VS code. -- Added file: https://bugs.python.org/file50353/Screenshot 2021-10-13 at 12.45.04.png ___ Python tracker <ht

[issue45443] 'ThreadPoolExecutor' object has no attribute 'map'

2021-10-12 Thread Zohim Chandani
New submission from Zohim Chandani : import concurrent.futures import time start = time.perf_counter() def do_something(seconds): print(f'sleeping for {seconds}s ... ') time.sleep(seconds) return f'done sleeping {seconds} ' with concurrent.futures.ThreadPoolExecutor