Skip to content

About compileall.py error exit code #124333

@rruuaanng

Description

@rruuaanng

Bug report

Bug description:

This thread continues the discussion of #88621.

I went through the compileall source code, and it blew my mind, but not in a good way. The indentation is all over the place, and I'm not sure what the heck is going on with the success variable. I’m thinking about refactoring it. Maybe it's a bit much work, but please give me some time if you can.

You know, the confusion with the execution state is really just because of the mess with the success variable.

CPython versions tested on:

CPython main branch

Operating systems tested on:

Other

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions