shlex.quote doesn't work on bytestrings

Offen
#69,753 11 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
25/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
python
Bereich
cli

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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
    Vorherrschende Sprache
    Python
    Sterne
    77.2k
    Forks
    36k
    Ø Merge
    1 T. 9 Std.
    Gemergte PRs (30 T.)
    558

    Beitragsleitfaden

    Beitragsleitfaden öffnen

    Erste Schritte

    1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
    2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
    3. Forken Sie das Repository und arbeiten Sie in einem Branch.
    4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

    Mehr aus python/cpython

    Alle Issues in python/cpython

    Ähnliche Issues

    Weitere Issues zu Python

    Neue Issues direkt in Ihr Postfach

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