python / python/cpython

StreamReader does not return reamaing and ready data buffer before raise the Exeption

Open
#75,044 24 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

stdlib topic-asyncio type-feature
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

BPO 30861
Nosy @gvanrossum, @dimaqq, @1st1, @pfreixes
PRs
  • python/cpython#2593
  • python/cpython#7473
  • 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 2017-07-05.20:55:08.161>
    labels = ['3.7', 'expert-asyncio']
    title = 'StreamReader does not return reamaing and ready data buffer before raise the Exeption'
    updated_at = <Date 2018-06-07.09:15:04.407>
    user = 'https://github.com/pfreixes'
    

    bugs.python.org fields:

    activity = <Date 2018-06-07.09:15:04.407>
    actor = 'pfreixes'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['asyncio']
    creation = <Date 2017-07-05.20:55:08.161>
    creator = 'pfreixes'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 30861
    keywords = ['patch']
    message_count = 20.0
    messages = ['297781', '297783', '297784', '297785', '297787', '297789', '297808', '297842', '297846', '297866', '297873', '297890', '297894', '297898', '297900', '297907', '298532', '298541', '298580', '309261']
    nosy_count = 4.0
    nosy_names = ['gvanrossum', 'Dima.Tisnek', 'yselivanov', 'pfreixes']
    pr_nums = ['2593', '7473']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue30861'
    versions = ['Python 3.4', 'Python 3.5', 'Python 3.6', 'Python 3.7']
    

    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 the asyncio StreamReader entry point and review pull requests 2593 and 7473, which are listed in the issue metadata. Determine how remaining ready data should be returned before the exception is raised, and verify the behavior with the relevant asyncio tests.

    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
    20/100

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.