Title: Executing code in thread or process pools: run_in_executor example
Type: Stage:
Components: Documentation Versions: Python 3.8
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: aaraney, docs@python
Priority: normal Keywords:

Created on 2020-06-26 15:24 by aaraney, last changed 2020-06-26 15:24 by aaraney.

Messages (1)
msg372428 - (view) Author: Austin Raney (aaraney) Date: 2020-06-26 15:24
I found an issue with the concurrent.futures.ProcessPoolExecuter() example (#3) in the asyncio event loops documentation. The call to should be guarded by `__name__=="__main__":`, as it sits now a RuntimeError is thrown.
Date User Action Args
2020-06-26 15:24:56aaraneycreate