python / python/cpython

Python `functools.wraps` doesn't deal with defaults correctly

Offen
#85,404 15 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@ncoghlan arbeitet bereits daran.

Seit 08.7.2020.

3.10 stdlib type-feature
Vorherrschende Sprache
Python
Sterne
77.2k
Forks
36k
PR-Merge-Kennzahlen
PR-Kennzahlen ausstehend

Beschreibung

BPO 41232
Nosy @terryjreedy, @gpshead, @ncoghlan, @JelleZijlstra, @cdonovick, @thorwhalen, @domdfcoding
PRs
  • python/cpython#21379
  • 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/ncoghlan'
    closed_at = None
    created_at = <Date 2020-07-07.22:00:22.478>
    labels = ['type-feature', '3.10']
    title = "Python `functools.wraps` doesn't deal with defaults correctly"
    updated_at = <Date 2021-05-03.19:52:34.043>
    user = 'https://github.com/thorwhalen'
    

    bugs.python.org fields:

    activity = <Date 2021-05-03.19:52:34.043>
    actor = 'Thor Whalen'
    assignee = 'ncoghlan'
    closed = False
    closed_date = None
    closer = None
    components = []
    creation = <Date 2020-07-07.22:00:22.478>
    creator = 'Thor Whalen2'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 41232
    keywords = ['patch']
    message_count = 15.0
    messages = ['373254', '373255', '373256', '373499', '374818', '374879', '374881', '374900', '392648', '392658', '392660', '392663', '392664', '392665', '392837']
    nosy_count = 8.0
    nosy_names = ['terry.reedy', 'gregory.p.smith', 'ncoghlan', 'JelleZijlstra', 'donovick', 'Thor Whalen', 'Thor Whalen2', 'domdfcoding']
    pr_nums = ['21379']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue41232'
    versions = ['Python 3.10']
    

    Beitragsleitfaden

    Beitragsleitfaden öffnen

    Erste Schritte

    1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
    2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
    3. Forke das Repository und arbeite in einem Branch.
    4. Öffne einen Pull Request, der die Issue-Nummer nennt.

    Bewertung

    Dieses Issue wurde noch nicht bewertet.

    Neue Issues direkt in Ihr Postfach

    Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.