ctypes: better support of bytearray objects

Open
#55,012 6 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 ctypes component and the linked ctype_bytearray.patch and ctypes_bytearray_2.patch, then check the dependency on bpo-22161. Compare the proposed changes with current ctypes behavior for bytearray objects; done means the supported behavior is implemented and the existing review concerns are resolved.

Written by the indexing model from the issue text.

Description

topic-ctypes type-feature
BPO 10803
Nosy @theller, @amauryfa, @abalkin, @pitrou, @meadori, @vadmium, @serhiy-storchaka
Dependencies
  • bpo-22161: Remove unsupported code from ctypes
  • Files
  • ctype_bytearray.patch
  • ctypes_bytearray_2.patch
  • 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-01-02.06:59:01.477>
    labels = ['ctypes', 'type-feature']
    title = 'ctypes: better support of bytearray objects'
    updated_at = <Date 2014-10-14.17:17:00.561>
    user = 'https://bugs.python.org/mfxmfx'
    

    bugs.python.org fields:

    activity = <Date 2014-10-14.17:17:00.561>
    actor = 'skrah'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['ctypes']
    creation = <Date 2011-01-02.06:59:01.477>
    creator = 'mfxmfx'
    dependencies = ['22161']
    files = ['32921', '36326']
    hgrepos = []
    issue_num = 10803
    keywords = ['patch', 'needs review']
    message_count = 6.0
    messages = ['125032', '204905', '224955', '224961', '224997', '225101']
    nosy_count = 8.0
    nosy_names = ['theller', 'amaury.forgeotdarc', 'belopolsky', 'pitrou', 'mfxmfx', 'meador.inge', 'martin.panter', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue10803'
    versions = ['Python 3.5']
    

    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.