shlex.quote doesn't work on bytestrings

Đang mở
#69,753 11 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
cli

Hướng nghiên cứu

Start by reviewing the shlex.quote entry point and the historical shlex_quote_bytes_support.patch referenced in the issue. Then inspect PRs 10871, 22657, and 121741 for the proposed behavior and tests; the issue is done when bytestring quoting is supported consistently with the agreed approach.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

stdlib type-feature
BPO 25567
Nosy @bitdancer, @vadmium, @The-Compiler, @willingc, @csabella, @tirkarthi, @aldwinaldwin, @HassanAbouelela, @hrik2001
PRs
  • python/cpython#10871
  • python/cpython#22657
  • Files
  • shlex_quote_bytes_support.patch
  • 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 2015-11-06.12:52:23.798>
    labels = ['easy', 'type-feature', 'library', '3.10']
    title = "shlex.quote doesn't work on bytestrings"
    updated_at = <Date 2021-04-26.21:09:05.326>
    user = 'https://bugs.python.org/JonasThiem'
    

    bugs.python.org fields:

    activity = <Date 2021-04-26.21:09:05.326>
    actor = 'hrik2001'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2015-11-06.12:52:23.798>
    creator = 'Jonas Thiem'
    dependencies = []
    files = ['40992']
    hgrepos = []
    issue_num = 25567
    keywords = ['patch', 'easy']
    message_count = 9.0
    messages = ['254186', '254196', '254429', '256413', '326163', '345569', '370274', '385605', '391986']
    nosy_count = 12.0
    nosy_names = ['r.david.murray', 'martin.panter', 'The Compiler', 'willingc', 'Nan Wu', 'Jonas Thiem', 'cheryl.sabella', 'xtreak', 'aldwinaldwin', 'HassanAbouelela', 'techfixya', 'hrik2001']
    pr_nums = ['10871', '22657']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue25567'
    versions = ['Python 3.10']
    

    Linked PRs
    • gh-22657
    • gh-121741
    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

    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.

    Issue khác của python/cpython

    Tất cả issue của python/cpython

    Issue tương tự

    Thêm issue về Python

    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.