Skip to content

Playwright docs does not mention that it overrides event loop #853

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

Closed
kumaraditya303 opened this issue Aug 19, 2021 · 0 comments · Fixed by microsoft/playwright#8403
Closed

Comments

@kumaraditya303
Copy link
Contributor

kumaraditya303 commented Aug 19, 2021

A library should not override the default event loop of an application in asyncio as it causes incompatibilities with other libraries, here:

asyncio.set_event_loop_policy(asyncio.WindowsProactorEventLoopPolicy())

playwright overrides the event loop on Python 3.7 on windows for convenience for the end user but there is no such mention in docs that it overrides the event loop.

See incompatibility with tornado : #723

See explanation for this: #723 (comment)

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

Successfully merging a pull request may close this issue.

1 participant