python / python/cpython

variadic function call broken on armhf when passing a float argument

オープン
#83,813 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

3.10 3.11 3.7 (EOL) 3.8 (EOL) 3.9 (EOL) topic-ctypes
主要言語
Python
スター
77.2k
フォーク
36k
平均マージ
1日 9時間
マージ済み PR(30日)
558

説明

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']
    

    コントリビューションガイド

    コントリビューションガイドを開く

    はじめの一歩

    1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
    2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
    3. リポジトリをフォークし、ブランチを切って変更します。
    4. issue 番号を参照したプルリクエストを送ります。

    調査の方向性

    ctypes_variadic_function_tests.diff から始めて、armhf ターゲットで variadic float が失敗する問題を再現し、その後 PR #18560 と ctypes の issue コンテキストを確認します。armhf の ctypes ユニットケースが、記載された Python バージョンを壊すことなくパスすれば完了です。

    索引モデルが issue の本文から書いたものです。

    評価

    技術スタック
    python
    領域
    operating-systems, testing
    issue の種類
    バグ
    難易度
    4/5
    見積もり時間
    3〜5日
    活発さ
    停滞
    明瞭さ
    おおむね明確
    初心者へのやさしさ
    25/100

    新しい issue をメールで受け取る

    初心者向けの GitHub issue を短くまとめたダイジェスト。