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

Aberta
#70,882 3 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
25/100
Tipo de issue
Bug
Clareza
Precisa de esclarecimento
Status de atividade
Estagnada
Stack de tecnologia
python
Domínio
backend

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
Python
Estrelas
77.2k
Forks
36k
Merge médio
1d 9h
PRs com merge (30d)
558

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de python/cpython

Todas as issues de python/cpython

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.