python / python/cpython

Add ability to query number of buffered bytes available on buffered I/O

Open
#76,656 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

BPO 32475
Nosy @pitrou, @vadmium, @kata198, @hashbrowncipher
PRs
  • python/cpython#7947
  • Files
  • Python_3_6_4_getbuffn.patch: getbuffn additions to Python 3.6.4
  • 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 2018-01-01.08:31:45.113>
    labels = ['type-feature', 'library', 'expert-IO']
    title = 'Add ability to query number of buffered bytes available on buffered I/O'
    updated_at = <Date 2018-06-27.04:01:30.244>
    user = 'https://github.com/kata198'
    

    bugs.python.org fields:

    activity = <Date 2018-06-27.04:01:30.244>
    actor = 'josnyder'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)', 'IO']
    creation = <Date 2018-01-01.08:31:45.113>
    creator = 'kata198'
    dependencies = []
    files = ['47359']
    hgrepos = []
    issue_num = 32475
    keywords = ['patch']
    message_count = 4.0
    messages = ['309328', '309334', '310035', '320542']
    nosy_count = 4.0
    nosy_names = ['pitrou', 'martin.panter', 'kata198', 'josnyder']
    pr_nums = ['7947']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue32475'
    versions = ['Python 3.6']
    

    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

    Review the Python_3_6_4_getbuffn.patch and PR #7947 first, then inspect the buffered I/O implementation affected by that proposal. Confirm how the requested buffered-byte count should be exposed and verify that the resulting API reports the available bytes correctly.

    Written by the indexing model from the issue text.

    Assessment

    Tech stack
    python
    Domain
    backend
    Issue type
    Feature
    Difficulty
    4/5
    Estimated time
    3-5 days
    Activity status
    Stale
    Clarity
    Mostly clear
    Newbie friendliness
    25/100

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.