Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix issue with async's do_map which wasn't awaiting any func's that are coroutines #913
While working on the async version of a new applymacro filter, I noticed an underlying issue with map, applying other async filters. In its iteration, it needed to check whether the return value is a coroutine, and if so wait for it.
The added test, test_map_sum passes when in non-async mode, but without this fix, fails in the async tests.