bpo-35378: Fix multiprocessing.Pool references by pablogsal · Pull Request #11627 · python/cpython (original) (raw)
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a leftover from the last PR.
Originally, in the last PR, I made the cache as a keyword argument to decouple the cache from the pool, as this allows a broader set of strategies (in the future) to have these separated and therefore reducing dependency cycles and lifetime chains.
In this PR I am targeting the simplest solution, so I am going to remove the cache argument and just get the cache out of the pool.
In edee524 I have reverted to use always the cache from the pool.