Replies: 4 comments 9 replies
-
|
Beta Was this translation helpful? Give feedback.
7 replies
-
As a language improvement, providing a low level interface for overlapped I/O on Windows would be fantastic. There is such a module ( |
Beta Was this translation helpful? Give feedback.
1 reply
-
Also, do we need to introduce new primitives beyond |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is also in 3.11, correct? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think we ought to start collecting a wish list of asyncio improvements that we would like to see. I'm starting the list with the items I can recall off the top of my hat and update it as suggestions come in:
task groups + exception groups→ in Python 3.11cancel scopes→ won't doalways give tasks an opportunity to respond to cancellation (as it is written in the asyncio docs)→ won't dolevel-triggered cancellation (always raise→ won't doCancelledError
for cancelled tasks at checkpoints when their current cancel scope has been cancelled)MockClock
→ okayed by Yurya procedural way to use UDP sockets (without having to involve transports and protocols)→ in Python 3.11an explicit way to use either threads or subprocesses (the current "executor" system does not distinguish between the two which is totally insane since they have vastly different constraints)(not an issue since 3.9+?)KeyboardInterrupt
handling?make→ ought to be fixed in trioContext
propagation work more trio-like? Ref: to/from_thread and contextvars #363 → need to determine "correct" semantics; njs said trio may be doing this wrongRelated language improvements we would like to see:
_overlapped
public and document it)Beta Was this translation helpful? Give feedback.
All reactions