Skip to content
New issue

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

maybe, turn asyncio Warnings to errors #19

Open
komuw opened this issue Mar 5, 2019 · 0 comments
Open

maybe, turn asyncio Warnings to errors #19

komuw opened this issue Mar 5, 2019 · 0 comments

Comments

@komuw
Copy link
Owner

komuw commented Mar 5, 2019

We should turn warnings like;
RuntimeWarning: coroutine 'someCoro' was never awaited
into an error.

We should especially do this in the development environment and test/ci env.

  1. https://docs.python.org/3/library/exceptions.html#RuntimeWarning
  2. https://docs.python.org/3/library/asyncio-dev.html
  3. https://stackoverflow.com/questions/5644836/in-python-how-does-one-catch-warnings-as-if-they-were-exceptions
  4. https://docs.python.org/3/library/logging.html#logging.captureWarnings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant