Issue #12157: pool.map() does not handle empty iterable correctly

Initial patch by mouad
3 files changed