In place operators of weakref.proxy() not returning self.

Aberta
#63,270 8 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
35/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
python
Domínio
backend

Direção de pesquisa

Start with the linked reproduction test, t.py, and run it against the current CPython build to confirm the weakref.proxy behavior. Trace the implementation of in-place operators for weak references and add focused regression coverage; done means the operators return the proxy itself as described by the issue.

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

Descrição

3.10 3.8 (EOL) 3.9 (EOL) stdlib type-bug
BPO 19070
Nosy @tim-one, @ncoghlan
Files
  • t.py: Test to reproduce
  • 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 2013-09-22.10:35:43.423>
    labels = ['3.8', 'type-bug', 'library', '3.9', '3.10']
    title = 'In place operators of weakref.proxy() not returning self.'
    updated_at = <Date 2020-11-15.19:31:24.002>
    user = 'https://bugs.python.org/grahamd'
    

    bugs.python.org fields:

    activity = <Date 2020-11-15.19:31:24.002>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2013-09-22.10:35:43.423>
    creator = 'grahamd'
    dependencies = []
    files = ['31983']
    hgrepos = []
    issue_num = 19070
    keywords = []
    message_count = 8.0
    messages = ['198257', '198262', '199130', '199132', '199133', '199135', '199138', '199141']
    nosy_count = 4.0
    nosy_names = ['tim.peters', 'ncoghlan', 'grahamd', 'shishkander']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue19070'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']
    

    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.