zipfile to handle duplicate files in archive

Abierto
#47,073 13 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
python
Área
backend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

    Lenguaje dominante
    Python
    Estrellas
    77.2k
    Forks
    36k
    Merge medio
    1 d 9 h
    PR fusionados (30 d)
    558

    Guía de contribución

    Abrir la guía de contribución

    Primeros pasos

    1. Lee el issue completo y luego la guía de contribución del proyecto.
    2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
    3. Haz un fork del repositorio y trabaja en una rama.
    4. Abre un pull request que haga referencia al número del issue.

    Más de python/cpython

    Todos los issues de python/cpython

    Issues similares

    Más issues de Python

    Recibe los nuevos issues en tu correo

    Un resumen breve de issues de GitHub para principiantes.