python / python/cpython

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

Đang mở
#85,404 15 bình luận 0 reaction 1 người được giao Xem trên GitHub

@ncoghlan đang làm issue này rồi.

Từ ngày 8/7/2020.

3.10 stdlib type-feature
Ngôn ngữ chính
Python
Star
77.2k
Fork
36k
Merge trung bình
1 ngày 9 giờ
Pull request đã merge (30 ngày)
558

Mô tả

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

    Hướng dẫn đóng góp

    Mở hướng dẫn đóng góp

    Bắt đầu từ đâu

    1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
    2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
    3. Fork repository và làm thay đổi trên một nhánh.
    4. Mở pull request có tham chiếu số hiệu của issue.

    Đánh giá

    Issue này chưa được đánh giá.

    Nhận issue mới trong hộp thư của bạn

    Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.