bpo-34245: install Python libraries with more standard 0755 mode by jdemeyer · Pull Request #8492 · python/cpython

@jdemeyer

methane

@@ -0,0 +1,2 @@
The Python library is now installed with write permission (mode 0755), which
is the standard way of installing libraries.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"library" is unclear word. "py?" files are "Python library" too.
I think "shared module" or "DLL" are bettor wording.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Shared library" is probably the correct term. This change does not apply to the Windows DLLs or pyds, and using that term here may be confusing.

@jdemeyer

Changed wording to "shared library"

@jdemeyer

@ned-deily

I think the change is fine for master (3.8). As far as backporting, it is hard to make a case that the existing behavior is a bug since the choice of permissions was deliberate. Since the current behavior has been around for many years with little or no prior complaints, I don't think we should risk breaking anything by changing how the existing maintenance branches behave.