-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
Python library should be installed writable #78426
Comments
In Makefile.pre.in, there is this: # Shared libraries must be installed with executable mode on some systems; Installing libraries read-only is very non-standard (I'm not aware of any other build system which does that). Python should just use the more standard 755 install mode. |
Isn't it useful to avoid accidental change while open files with editor for just reading? Is there any real world problem about read-only library? |
Why would that argument apply to a binary file (and only to binary files)?
It makes it slightly harder to remove a Python installation. Depending on the OS, you'll get a failure or require some additional confirmation. Furthermore, it's very non-standard. Even if that's not a problem by itself, Python should just install things in the standard way. |
Also, some tools may want to edit the library after installation. Rebasing on Cygwin is an example of that. |
On Fri, Jul 27, 2018 at 6:25 PM Jeroen Demeyer <report@bugs.python.org> wrote:
I didn't notice it's used only for binary libraries.
Make sense.
It's not true if there are some merits and there are no real problem. |
Thanks for the PR. I've merged it for release in 3.8.0. As I commented on the PR, I don't think we should backport this; the current behavior has been around for many years and was working as designed so it's not really a bug. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: