medium95%
ContextThreadPoolExecutor.map rejects generator inputs
ContextThreadPoolExecutor.map() calls len(iterables[0]) to preallocate contexts, which raises TypeError for generators and other unsized iterables, even though the standard ThreadPoolExecutor.map() accepts them. The proposed fix delegates directly to super().map(), relying on the existing submit() override for context propagation.
