Skip to content

The case generator no longer reports escaping calls in conditions as an error. #135193

Open
@markshannon

Description

@markshannon

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

Metadata

Metadata

Assignees

Labels

interpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions