Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
encukou opened this issue Oct 15, 2019 · 0 comments
Open

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

encukou opened this issue Oct 15, 2019 · 0 comments

Comments

@encukou
Copy link
Member

encukou commented Oct 15, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant