Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Mapping over an empty list should return an empty list #129
This is super dumb but mapping over an empty list shouldn't throw an exception. It should just return an empty list.
UnboundLocalError Traceback (most recent call last)
/home/ubuntu/pywren/pywren/executor.py in map(self, func, iterdata, extra_env, extra_meta, invoke_pool_threads, data_all_as_one, use_cached_runtime, overwrite_invoke_args, exclude_modules)
UnboundLocalError: local variable 'call_id' referenced before assignment