Skip to content

Python/ceval.c -Wunreachable-code warn from apple-clang #106280

@corona10

Description

@corona10

Python/ceval.c:2849:17: warning: code will never be executed [-Wunreachable-code]
                for (;;) {}
                ^~~~~~~~~~~
Python/ceval.c:2848:17: warning: code will never be executed [-Wunreachable-code]
                abort();  // Unreachable

The code was first introduced from 51fc725
@gvanrossum is it really needed?

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions