-
Type:
Task
-
Resolution: Duplicate
-
Priority:
Unknown
-
None
-
Affects Version/s: 4.17.0
-
Component/s: None
-
None
-
None
-
Python Drivers
-
None
-
None
-
None
-
None
-
None
-
None
Context
Python recently added a new concurrent.futures executor, InterpreterPoolExecutor. This executor fits my use case well, but I'm unable to easily use PyMongo with it due to RuntimeError: daemon threads are disabled in this interpreter. It would be valuable if I could perform queries from within the sub-interpreters of InterpreterPoolExecutor, even if each maintains its own database connection.
Definition of done
PyMongo can be utilized in combination with {{InterpreterPoolExecutor}}to execute queries concurrently.
Pitfalls
TBD
- duplicates
-
PYTHON-5418 Support sub-interpreters and InterpreterPoolExecutor
-
- Backlog
-