The case generator no longer reports escaping calls in conditions as an error.
Offen
@markshannon arbeitet bereits daran.
Seit 05.6.2025.
interpreter-core
type-bug
- Vorherrschende Sprache
- Python
- Sterne
- 77.2k
- Forks
- 35.9k
- PR-Merge-Kennzahlen
- PR-Kennzahlen ausstehend
Beschreibung
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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.