python / python/cpython

Cross-module dataclass inheritance breaks get_type_hints

オープン
#89,687 コメント 28 件 リアクション 1 件 担当者 1 名 GitHub で見る

@ericvsmith がすでに取り組んでいます。

2021年11月30日 から。

3.10 3.11 3.9 (EOL) stdlib topic-dataclasses topic-typing type-bug
主要言語
Python
スター
77.2k
フォーク
36k
PR マージ指標
PR 指標を取得中

説明

BPO 45524
Nosy @gvanrossum, @ericvsmith, @JelleZijlstra, @sobolevn, @Fidget-Spinner, @AlexWaygood
PRs
  • python/cpython#29158
  • 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 = 'https://github.com/ericvsmith'
    closed_at = None
    created_at = <Date 2021-10-19.14:37:47.448>
    labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
    title = 'Cross-module dataclass inheritance breaks get_type_hints'
    updated_at = <Date 2022-01-22.08:37:13.515>
    user = 'https://bugs.python.org/aidanbclark'
    

    bugs.python.org fields:

    activity = <Date 2022-01-22.08:37:13.515>
    actor = 'AlexWaygood'
    assignee = 'eric.smith'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2021-10-19.14:37:47.448>
    creator = 'aidan.b.clark'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 45524
    keywords = ['patch']
    message_count = 13.0
    messages = ['404307', '404312', '404313', '404314', '404321', '404740', '404752', '404754', '404812', '404822', '404823', '404907', '404918']
    nosy_count = 8.0
    nosy_names = ['gvanrossum', 'eric.smith', 'JelleZijlstra', 'slebedev', 'sobolevn', 'kj', 'AlexWaygood', 'aidan.b.clark']
    pr_nums = ['29158']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue45524'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']
    

    Linked PRs
    • gh-137168

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

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

    はじめの一歩

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

    評価

    この issue はまだ評価されていません。

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

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