inspect.getargvalues fails if arg name is not bound to a value
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Anfängerfreundlichkeit
- 30/100
Rechercherichtung
Start with inspect.getargvalues and the referenced test_cgitb.py script to reproduce the failure when an argument name is not bound. Review the linked issue17246.diff and existing discussion before changing behavior. Done means the failure is covered by a regression test and the expected handling of an unbound argument is established.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
| BPO | 17246 |
|---|---|
| Nosy | @ezio-melotti, @iritkatriel, @macgors |
| Files |
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 2013-02-19.22:22:36.701>
labels = ['easy', 'type-bug', '3.9', '3.10', '3.11', 'library']
title = 'inspect.getargvalues fails if arg name is not bound to a value'
updated_at = <Date 2022-03-29.18:46:57.608>
user = 'https://bugs.python.org/AndrewLutomirski'
bugs.python.org fields:
activity = <Date 2022-03-29.18:46:57.608>
actor = 'macgors'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2013-02-19.22:22:36.701>
creator = 'Andrew.Lutomirski'
dependencies = []
files = ['29125', '29166']
hgrepos = []
issue_num = 17246
keywords = ['easy']
message_count = 4.0
messages = ['182446', '182705', '396039', '416283']
nosy_count = 4.0
nosy_names = ['ezio.melotti', 'Andrew.Lutomirski', 'iritkatriel', 'macgors']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'patch review'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue17246'
versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']
Linked PRs
- gh-101318
- gh-144854
- Vorherrschende Sprache
- Python
- Sterne
- 77.2k
- Forks
- 36k
- Ø Merge
- 1 T. 9 Std.
- Gemergte PRs (30 T.)
- 558
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus python/cpython
-
docs pending
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
-
stdlib type-feature
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
-
stdlib type-feature
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
-
build type-bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
-
stdlib topic-email type-feature
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
Ähnliche Issues
-
fix: inaccuracy ⚠️
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
uabrc/uabrc.github.io#1255 · 1 Kommentar ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
ethereum-optimism/factory#64 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 90/100
duckdb/duckdb-python#627 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
-
Add link for tutorial Offendocumentation
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 78/100
Qiskit/qiskit-addon-sqd#376 ·