python / python/cpython

variadic function call broken on armhf when passing a float argument

Open
#83,813 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3.10 3.11 3.7 (EOL) 3.8 (EOL) 3.9 (EOL) topic-ctypes
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

BPO 39632
Nosy @FFY00, @ndessart
PRs
  • python/cpython#18560
  • Files
  • ctypes_variadic_function_tests.diff: Reproduce this issue with ctypes unit tests on an armhf target.
  • 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 2020-02-14.10:03:28.170>
    labels = ['3.8', '3.9', '3.10', '3.11', 'ctypes', '3.7']
    title = 'variadic function call broken on armhf when passing a float argument'
    updated_at = <Date 2021-07-23.09:26:19.255>
    user = 'https://github.com/ndessart'
    

    bugs.python.org fields:

    activity = <Date 2021-07-23.09:26:19.255>
    actor = 'Nicolas Dessart'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['ctypes']
    creation = <Date 2020-02-14.10:03:28.170>
    creator = 'Nicolas Dessart'
    dependencies = []
    files = ['48896']
    hgrepos = []
    issue_num = 39632
    keywords = ['patch']
    message_count = 4.0
    messages = ['361992', '362307', '398026', '398040']
    nosy_count = 2.0
    nosy_names = ['FFY00', 'Nicolas Dessart']
    pr_nums = ['18560']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue39632'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9', 'Python 3.10', 'Python 3.11']
    

    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 ctypes_variadic_function_tests.diff to reproduce the variadic float failure on an armhf target, then review PR #18560 and the ctypes issue context. Done means the armhf ctypes unit case passes without breaking the listed Python versions.

    Written by the indexing model from the issue text.

    Assessment

    Tech stack
    python
    Domain
    operating-systems, testing
    Issue type
    Bug
    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.