python / python/cpython

Mismatch between the manipulation of `sys.path` by `runpy` and by the Python command-line interface

Offen
#85,980 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

3.8 (EOL) stdlib type-bug
Vorherrschende Sprache
Python
Sterne
77.2k
Forks
36k
PR-Merge-Kennzahlen
PR-Kennzahlen ausstehend

Beschreibung

BPO 41814
Nosy @ncoghlan, @maggyero

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-09-19.15:43:58.546>
labels = ['3.8', 'type-bug', 'library']
title = 'Mismatch between the manipulation of `sys.path` by `runpy` and by the Python command-line interface'
updated_at = <Date 2020-09-19.15:43:58.546>
user = 'https://github.com/maggyero'

bugs.python.org fields:

activity = <Date 2020-09-19.15:43:58.546>
actor = 'maggyero'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2020-09-19.15:43:58.546>
creator = 'maggyero'
dependencies = []
files = []
hgrepos = []
issue_num = 41814
keywords = []
message_count = 1.0
messages = ['377171']
nosy_count = 2.0
nosy_names = ['ncoghlan', 'maggyero']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue41814'
versions = ['Python 3.8']

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 zu vergleichen, wie runpy sys.path manipuliert, mit dem Verhalten der Python-Kommandozeilenschnittstelle. Bestimme das beabsichtigte konsistente Verhalten und überprüfe es über die relevanten Ausführungspfade hinweg; abgeschlossen ist die Aufgabe, wenn die im Issue beschriebene Abweichung behoben und durch geeignete Tests abgedeckt ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
cli
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

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