| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
This makes sense! Though a unit test is preferred.
Sorry, something went wrong.
| except asyncio.CancelledError as exc: | ||
| for fut in fs: | ||
| fut.cancel() | ||
| raise exc from None |
There was a problem hiding this comment.
Why dropping the original context here, instead of just raise?
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
I also have observed that when I use asyncio.wait_for(...) around loop.create_connection in the timeout case I end up getting this logged to stdout(err?):
The code in this commit fixes this.