The case generator no longer reports escaping calls in conditions as an error.
Aberta
@markshannon já está trabalhando nisso.
Desde 5/6/2025.
interpreter-core
type-bug
- Linguagem predominante
- Python
- Estrelas
- 77.2k
- Forks
- 35.9k
- Métricas de merge de PRs
- Métricas de PR pendentes
Descrição
Bug report
Bug description:
In bytecodes.c this should be an error, as the code generator cannot correctly wrap the escaping call in spill code:
if (escaping_call(()) {
but this is no longer reported as an error.
This doesn't seem to be causing any problems, but I did notice it when modifying bytecodes.c recently, and it should be fixed.
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Avaliação
Esta issue ainda não foi avaliada.