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

Offen
#59,578 18 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

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

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

    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.