We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using merge and two tasks fail in the same tick a Task exception was never retrieved warning is generated.
Task exception was never retrieved
I would expect both or none of case_1 and case_2 to emit the warning.
case_1
case_2
async def delayed_failing_async_iterator(delay): await asyncio.sleep(delay) raise Exception() yield async def case_1(): async with aiostream.stream.merge( delayed_failing_async_iterator(1), delayed_failing_async_iterator(1), ).stream() as streams: async for item in streams: pass async def case_2(): async with aiostream.stream.merge( delayed_failing_async_iterator(1), delayed_failing_async_iterator(2), ).stream() as streams: async for item in streams: pass
The text was updated successfully, but these errors were encountered:
Good catch! Thanks for the report and the PR :)
Sorry, something went wrong.
Fix "Task exception was never retrieved" warning
10fa752
Issue #71, PR #72
Merged! @cstruct Do you need a release today?
No rush, I found this by accident while debugging a segfault at the intersection of aioodbc and aiostream.
aioodbc
aiostream
Successfully merging a pull request may close this issue.
When using merge and two tasks fail in the same tick a
Task exception was never retrieved
warning is generated.I would expect both or none of
case_1
andcase_2
to emit the warning.The text was updated successfully, but these errors were encountered: