Add struct.Struct.nmemb

Open
#56,949 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start by reviewing the referenced struct_nmemb.diff and the struct.Struct implementation it targets, then compare the proposed API with the current behavior. Done means struct.Struct provides nmemb as requested and the change is ready for review.

Written by the indexing model from the issue text.

Description

stdlib type-feature
BPO 12740
Nosy @birkenfeld, @rhettinger, @mdickinson, @pitrou, @bitdancer, @skrah, @meadori
Files
  • struct_nmemb.diff
  • 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 2011-08-12.11:33:27.036>
    labels = ['type-feature', 'library']
    title = 'Add struct.Struct.nmemb'
    updated_at = <Date 2013-07-12.06:37:12.901>
    user = 'https://github.com/skrah'
    

    bugs.python.org fields:

    activity = <Date 2013-07-12.06:37:12.901>
    actor = 'rhettinger'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2011-08-12.11:33:27.036>
    creator = 'skrah'
    dependencies = []
    files = ['22890']
    hgrepos = []
    issue_num = 12740
    keywords = ['patch', 'needs review']
    message_count = 13.0
    messages = ['141951', '142025', '142026', '142028', '142029', '142031', '142073', '142074', '142082', '142086', '142157', '142182', '142199']
    nosy_count = 7.0
    nosy_names = ['georg.brandl', 'rhettinger', 'mark.dickinson', 'pitrou', 'r.david.murray', 'skrah', 'meador.inge']
    pr_nums = []
    priority = 'low'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue12740'
    versions = ['Python 3.4']
    

    Dominant language
    Python
    Stars
    77.2k
    Forks
    36k
    Avg merge
    1d 9h
    Merged PRs (30d)
    558

    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.

    More from python/cpython

    All issues in python/cpython

    Similar issues

    More Python issues

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.