python / python/cpython

Wait for connection_lost in StreamWriter.drain

Open
#80,982 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3.10 3.11 3.12 topic-asyncio type-bug
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

BPO 36801
Nosy @vstinner, @asvetlov, @1st1, @miss-islington
PRs
  • python/cpython#13098
  • python/cpython#13176
  • python/cpython#13328
  • python/cpython#13329
  • python/cpython#13330
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2019-05-05.13:44:32.210>
    labels = ['3.8', 'type-bug', '3.7', 'expert-asyncio']
    title = 'Wait for connection_lost in StreamWriter.drain'
    updated_at = <Date 2019-05-14.21:39:18.302>
    user = 'https://github.com/asvetlov'
    

    bugs.python.org fields:

    activity = <Date 2019-05-14.21:39:18.302>
    actor = 'asvetlov'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['asyncio']
    creation = <Date 2019-05-05.13:44:32.210>
    creator = 'asvetlov'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36801
    keywords = ['patch']
    message_count = 6.0
    messages = ['341445', '341820', '341834', '342513', '342516', '342521']
    nosy_count = 4.0
    nosy_names = ['vstinner', 'asvetlov', 'yselivanov', 'miss-islington']
    pr_nums = ['13098', '13176', '13328', '13329', '13330']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue36801'
    versions = ['Python 3.7', 'Python 3.8']
    

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    Research direction

    Start with asyncio's StreamWriter.drain and connection_lost behavior, then review the linked PRs 13098, 13176, 13328, 13329, and 13330 for the proposed direction. Check the Python 3.7 and 3.8 asyncio tests related to streams; done means the connection_lost behavior is covered and the relevant tests pass.

    Written by the indexing model from the issue text.

    Assessment

    Tech stack
    python
    Domain
    networking
    Issue type
    Bug
    Difficulty
    4/5
    Estimated time
    3-5 days
    Activity status
    Stale
    Clarity
    Needs clarification
    Newbie friendliness
    15/100

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.