python / python/cpython

traceback & inspect modules should verify that the .py source file matches the one that the running process is using

Offen
#88,257 6 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

3.11 stdlib type-feature
Vorherrschende Sprache
Python
Sterne
77.2k
Forks
36k
PR-Merge-Kennzahlen
PR-Kennzahlen ausstehend

Beschreibung

BPO 44091
Nosy @gvanrossum, @gpshead, @iritkatriel

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 2021-05-09.17:15:30.610>
labels = ['type-feature', 'library', '3.11']
title = 'traceback & inspect modules should verify that the .py source file matches the one that the running process is using'
updated_at = <Date 2021-09-02.20:42:48.048>
user = 'https://github.com/gpshead'

bugs.python.org fields:

activity = <Date 2021-09-02.20:42:48.048>
actor = 'gregory.p.smith'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2021-05-09.17:15:30.610>
creator = 'gregory.p.smith'
dependencies = []
files = []
hgrepos = []
issue_num = 44091
keywords = []
message_count = 6.0
messages = ['393328', '400866', '400867', '400869', '400870', '400956']
nosy_count = 3.0
nosy_names = ['gvanrossum', 'gregory.p.smith', 'iritkatriel']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'needs patch'
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue44091'
versions = ['Python 3.11']

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, den Traceback zu lokalisieren, und untersuche die Modulimplementierungen und ihre vorhandenen Tests. Reproduziere einen Fall, in dem der laufende Prozess eine andere .py-Quelldatei verwendet als die, die auf der Festplatte liegt, und erstelle anschließend Tests, die das Verifizierungsverhalten abdecken. Die Aufgabe ist abgeschlossen, wenn beide Module diese Abweichung zuverlässig erkennen oder behandeln.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
tooling
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
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.