Pickling and copying exceptions doesn't preserve non-__dict__ attributes
Offen
Dieses Issue hat noch niemand übernommen.
3.11
interpreter-core
type-bug
- Vorherrschende Sprache
- Python
- Sterne
- 77.2k
- Forks
- 36k
- PR-Merge-Kennzahlen
- PR-Kennzahlen ausstehend
Beschreibung
| BPO | 30005 |
|---|---|
| Nosy | @avassalotti, @serhiy-storchaka, @iritkatriel |
| Dependencies |
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 2017-04-06.05:59:35.082>
labels = ['interpreter-core', 'type-bug', '3.11']
title = "Pickling and copying exceptions doesn't preserve non-__dict__ attributes"
updated_at = <Date 2021-06-27.21:37:57.332>
user = 'https://github.com/serhiy-storchaka'
bugs.python.org fields:
activity = <Date 2021-06-27.21:37:57.332>
actor = 'iritkatriel'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Interpreter Core']
creation = <Date 2017-04-06.05:59:35.082>
creator = 'serhiy.storchaka'
dependencies = ['29998']
files = []
hgrepos = []
issue_num = 30005
keywords = []
message_count = 2.0
messages = ['291212', '396602']
nosy_count = 3.0
nosy_names = ['alexandre.vassalotti', 'serhiy.storchaka', 'iritkatriel']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'needs patch'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue30005'
versions = ['Python 3.11']
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Es werden keine Quelldateien oder Tests genannt. Beginne damit, das Pickling- und Kopierverhalten von CPython-Ausnahmen nachzuverfolgen, und sieh dir das abhängige Issue bpo-29998 an, um den zugehörigen Kontext zu prüfen. Als erledigt gilt die Aufgabe, wenn Ausnahmeattribute außerhalb von dict sowohl Pickling als auch Kopieren überstehen und eine Regressionstestabdeckung für dieses Verhalten vorhanden ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- backend
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 30/100