GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Add test for preexec_fn fd double close issue by fantix · Pull Request #479 · MagicStack/uvloop Conversation
Member
Refs #466
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Member
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
graingert
reviewed
Uh oh!
There was an error while loading. Please reload this page. Co-authored-by: Thomas Grainger <[email protected]>
graingert
reviewed
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
Just doing a eyeball pass at the moment - will do a proper review later. My gut feeling is that I think it's a bit complicated using a thread pool executor and a queue and a pipe and an event so I'll see if I can have a ponder on making this simpler - eg just using threading.Barrier |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| import asyncio | ||
| import uvloop | ||
|
|
||
| uvloop.install() |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
When the 3.11 test suite lands it might be worth conditionally using the modern asyncio.Runner(loop_factory=uvloop.new_event_loop)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
ok I think I've managed to simplify this a lot: https://github.com/MagicStack/uvloop/pull/481/files#r924838769 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Close in favor of #481 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.