Skip to content

If the .pyc file can't be written, compileall2 fails silently #12

@encukou

Description

@encukou

During testing upstream, it was found that py_compile, and thus compileall, silently skips writing .pyc files it can't write (because of path size limits; probably also because of permissions etc.).

For Fedora, it would make sense to fail with an exception (or error exit code). It should probably be an option – not everyone will want it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions