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

Aperta
#70,882 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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']

Lingua principale
Python
Stelle
77.2k
Fork
36k
Merge medio
1g 9h
PR unite (30g)
558

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di python/cpython

Tutte le issue di python/cpython

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.