pickle and _pickle accelerator have different behavior when unpickling an object with falsy __getstate__ return

Offen
#70,882 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

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

Rechercherichtung

The issue names pickle and _pickle and reports different unpickling behavior for a falsy getstate return; begin by reproducing that discrepancy in the existing pickle test suite. Done means the two implementations behave consistently and regression coverage records the expected result.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

3.10 3.11 3.9 (EOL) docs type-bug
BPO 26695
Nosy @MojoVampire, @ZackerySpytz, @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 2016-04-05.15:01:46.219>
labels = ['3.11', 'type-bug', '3.9', '3.10', 'docs']
title = 'pickle and _pickle accelerator have different behavior when unpickling an object with falsy __getstate__ return'
updated_at = <Date 2021-12-05.23:11:25.472>
user = 'https://github.com/MojoVampire'

bugs.python.org fields:

activity = <Date 2021-12-05.23:11:25.472>
actor = 'iritkatriel'
assignee = 'docs@python'
closed = False
closed_date = None
closer = None
components = ['Documentation']
creation = <Date 2016-04-05.15:01:46.219>
creator = 'josh.r'
dependencies = []
files = []
hgrepos = []
issue_num = 26695
keywords = []
message_count = 3.0
messages = ['262908', '348309', '407756']
nosy_count = 4.0
nosy_names = ['docs@python', 'josh.r', 'ZackerySpytz', 'iritkatriel']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue26695'
versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

Vorherrschende Sprache
Python
Sterne
77.2k
Forks
36k
Ø Merge
1 T. 9 Std.
Gemergte PRs (30 T.)
558

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus python/cpython

Alle Issues in python/cpython

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

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