Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Pitch
The current code path for adding and removing asyncio readers and writers always has to do atryexcept KeyError to add a new reader/writer
cpython/Lib/asyncio/selector_events.py
Line 316 inb3648f0
| exceptKeyError: |
For use cases where readers are added and removed frequently (hard to change the design without breaking changes) this adds up quickly.

Linked PRs
Metadata
Metadata
Assignees
Labels
Projects
Status
Done