python / python/cpython

Document os.environ[x] = y and os.putenv() as thread unsafe

Offen
#83,556 5 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

3.10 3.8 (EOL) 3.9 (EOL) docs type-feature
Vorherrschende Sprache
Python
Sterne
77.2k
Forks
36k
PR-Merge-Kennzahlen
PR-Kennzahlen ausstehend

Beschreibung

BPO 39375
Nosy @gpshead, @eryksun, @nanjekyejoannah

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 2020-01-18.00:36:07.918>
labels = ['type-feature', '3.8', '3.9', '3.10', 'docs']
title = 'Document os.environ[x] = y and os.putenv() as thread unsafe'
updated_at = <Date 2021-03-04.18:23:52.578>
user = 'https://github.com/gpshead'

bugs.python.org fields:

activity = <Date 2021-03-04.18:23:52.578>
actor = 'eryksun'
assignee = 'docs@python'
closed = False
closed_date = None
closer = None
components = ['Documentation']
creation = <Date 2020-01-18.00:36:07.918>
creator = 'gregory.p.smith'
dependencies = []
files = []
hgrepos = []
issue_num = 39375
keywords = []
message_count = 5.0
messages = ['360221', '360223', '360450', '360451', '375992']
nosy_count = 5.0
nosy_names = ['gregory.p.smith', 'docs@python', 'eryksun', 'nanjekyejoannah', 'Daniel Martin']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue39375'
versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit, die Python-Dokumentationseinträge für os.environ und os.putenv() zu finden. Dokumentiere, dass Zuweisungen über os.environ und der Aufruf von os.putenv() nicht threadsicher sind, und überprüfe anschließend, ob die Formulierung in die umgebende Dokumentation passt und beide APIs klar abdeckt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

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

Neue Issues direkt in Ihr Postfach

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