zipfile to handle duplicate files in archive

Aperta
#47,073 13 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Start by reviewing the attached test2824.py and low_level_zipfile.diff, then inspect the current zipfile implementation and its tests. Determine the intended behavior for archives containing duplicate filenames, since the issue does not define the desired handling. Done means the behavior is agreed, covered by regression tests, and implemented consistently.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

3.10 3.11 3.9 (EOL) extension-modules stdlib type-feature
BPO 2824
Nosy @birkenfeld, @serhiy-storchaka, @iritkatriel, @obfusk, @jheiselman
Files
  • test2824.py
  • low_level_zipfile.diff: Deprecate the possibility of adding multiple files with the same name to ZipFile
  • 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 2008-05-11.20:17:49.633>
    labels = ['extension-modules', 'type-feature', '3.9', '3.10', '3.11']
    title = 'zipfile to handle duplicate files in archive'
    updated_at = <Date 2021-08-02.22:01:33.012>
    user = 'https://bugs.python.org/techtonik'
    

    bugs.python.org fields:

    activity = <Date 2021-08-02.22:01:33.012>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Extension Modules']
    creation = <Date 2008-05-11.20:17:49.633>
    creator = 'techtonik'
    dependencies = []
    files = ['16776', '16843']
    hgrepos = []
    issue_num = 2824
    keywords = ['patch']
    message_count = 13.0
    messages = ['66661', '66682', '66728', '66781', '89468', '102439', '102578', '102600', '102721', '181042', '383102', '385801', '385802']
    nosy_count = 11.0
    nosy_names = ['georg.brandl', 'alanmcintyre', 'techtonik', 'BitTorment', 'brtzsnr', 'Yaniv.Aknin', 'serhiy.storchaka', 'michael.driscoll', 'iritkatriel', 'obfusk', 'jheiselman']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue2824'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']
    

    Lingua principale
    Python
    Stelle
    77.2k
    Fork
    36k
    Merge medio
    1g 9h
    PR unite (30g)
    558

    Guida per i contributori

    Apri la guida per i contributori

    Come iniziare

    1. Leggi tutta la issue e poi la guida ai contributi del progetto.
    2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
    3. Fai un fork del repository e lavora su un branch.
    4. Apri una pull request che faccia riferimento al numero della issue.

    Altre issue di python/cpython

    Tutte le issue di python/cpython

    Issue simili

    Altre issue su Python

    Ricevi le nuove issue nella tua casella

    Un breve riepilogo di issue GitHub adatte ai principianti.