[doc] Document that __getattr__ can be called before __init__ (e.g. by pickle)

Aberta
#60,446 2 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
2/5
Tempo estimado
1-3 horas
Facilidade para iniciantes
35/100
Tipo de issue
Documentação
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
python
Domínio
documentation

Direção de pesquisa

Start by locating the Python documentation for getattr and the pickle-related behavior described in the issue. Update the relevant documentation to state that getattr may be called before init, using pickle as an example, then run the applicable documentation checks and verify the rendered wording.

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

Descrição

3.11 docs stdlib type-feature
BPO 16242
Nosy @pitrou, @avassalotti

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 2012-10-15.18:11:13.593>
labels = ['3.11', 'type-feature', 'library', 'docs']
title = '[doc]  Document that __getattr__ can be called before __init__ (e.g. by pickle)'
updated_at = <Date 2021-11-26.23:10:29.318>
user = 'https://bugs.python.org/powderflask'

bugs.python.org fields:

activity = <Date 2021-11-26.23:10:29.318>
actor = 'iritkatriel'
assignee = 'docs@python'
closed = False
closed_date = None
closer = None
components = ['Documentation', 'Library (Lib)']
creation = <Date 2012-10-15.18:11:13.593>
creator = 'powderflask'
dependencies = []
files = []
hgrepos = []
issue_num = 16242
keywords = []
message_count = 2.0
messages = ['172993', '223114']
nosy_count = 4.0
nosy_names = ['pitrou', 'alexandre.vassalotti', 'docs@python', 'powderflask']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue16242'
versions = ['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.