copy.copy() does not properly copy os.environment

Abierto
#59,578 18 comentarios 1 reacción 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
python

Línea de trabajo

Review environcopy.patch and environcopy_v2.patch, then inspect the os.environ entry point and how copy.copy() handles it. Compare the proposed copy behavior with the issue's requirement and verify that the resulting copy behavior is covered before submitting an updated patch.

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

Descripción

3.11 stdlib type-feature
BPO 15373
Nosy @rhettinger, @gpshead, @pitrou, @bitdancer, @methane, @serhiy-storchaka, @eryksun, @MojoVampire, @sblondon, @akulakov, @kamilturek, @nightlark
Files
  • environcopy.patch: Add copy method to os.environ
  • environcopy_v2.patch: Add copy method to os.environ
  • 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 2012-07-16.16:08:57.208>
    labels = ['type-feature', 'library', '3.11']
    title = 'copy.copy() does not properly copy os.environment'
    updated_at = <Date 2022-03-02.00:42:01.639>
    user = 'https://bugs.python.org/htgoebel'
    

    bugs.python.org fields:

    activity = <Date 2022-03-02.00:42:01.639>
    actor = 'eryksun'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2012-07-16.16:08:57.208>
    creator = 'htgoebel'
    dependencies = []
    files = ['26403', '26404']
    hgrepos = []
    issue_num = 15373
    keywords = ['patch', 'needs review']
    message_count = 18.0
    messages = ['165631', '165637', '165647', '165652', '165691', '165712', '286384', '286392', '286473', '286513', '286526', '384993', '396922', '399654', '402364', '402366', '414318', '414319']
    nosy_count = 14.0
    nosy_names = ['rhettinger', 'gregory.p.smith', 'htgoebel', 'pitrou', 'r.david.murray', 'methane', 'serhiy.storchaka', 'eryksun', 'josh.r', 'sblondon', 'andrei.avk', 'kamilturek', 'rmast', 'mkatsev']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue15373'
    versions = ['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.