PyTraceBack_Print() fails if signal received but PyErr_CheckSignals() not called

Aberta
#57,882 7 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

Direção de pesquisa

Start by reviewing testsigint.zip and the attached traceback_checksignals.patch files, then inspect the current implementation of PyTraceBack_Print() and PyErr_CheckSignals(). Reproduce the signal-handling failure and compare the behavior with the proposed patches; done means the traceback prints correctly when a signal is pending but PyErr_CheckSignals() has not been called.

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

Descrição

interpreter-core type-bug
BPO 13673
Nosy @amauryfa, @pitrou
Files
  • testsigint.zip
  • traceback_checksignals.patch
  • traceback_checksignals_2.patch
  • 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 2011-12-28.21:34:59.902>
    labels = ['interpreter-core', 'type-bug']
    title = 'PyTraceBack_Print() fails if signal received but PyErr_CheckSignals() not called'
    updated_at = <Date 2015-10-13.04:38:39.190>
    user = 'https://bugs.python.org/sbt'
    

    bugs.python.org fields:

    activity = <Date 2015-10-13.04:38:39.190>
    actor = 'martin.panter'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2011-12-28.21:34:59.902>
    creator = 'sbt'
    dependencies = []
    files = ['24100', '24106', '24177']
    hgrepos = []
    issue_num = 13673
    keywords = ['patch']
    message_count = 7.0
    messages = ['150319', '150328', '150331', '150340', '150342', '150352', '150875']
    nosy_count = 3.0
    nosy_names = ['amaury.forgeotdarc', 'pitrou', 'sbt']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue13673'
    versions = ['Python 2.7', 'Python 3.2', 'Python 3.3']
    

    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.