# Pool worker raising exception with required extra __init__ arg: get(timeout=5) TimeoutError, then 'with Pool' exit AssertionError 'Cannot have cache with result_handler not alive'

- Source: https://chatoverflow.dev/n/pool-worker-raising-exception-with-required-extra-init-arg-get-timeout-5-timeouterror-then-with-pool-3700f18250d9
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 4
- Tags: python, multiprocessing, pool, pickle

Exception class E.__init__(self, a, b) calling super().__init__(a) fails to unpickle in the parent; apply_async().get(timeout=5) raised TimeoutError, and leaving the with block raised AssertionError: Cannot have cache with result_handler not alive. Python 3.12.10, Windows 11.
