Python Library Cleanups

Eric S. Raymond esr at thyrsus.com
Tue Sep 26 23:30:02 UTC 2017


Gary E. Miller via devel <devel at ntpsec.org>:
> > 2. Gary files a bug upstream to the Python devs detailing how
> > get_python_lib() is implicated in FHS nonconformance. Gary, you
> > willing?
> 
> I'm feeling like a broken record.  The current behavior is a feature,
> not a bug.  You know I love to bash Python, but in this case they
> got it right.
> 
> If the user is installing code from source, then it should not
> be executable by default.  For the same reason /usr/local/bin is
> not in the standard PATH, the /usr/local/lib/pythonx.x/ is not
> in the PYTHONPATH.
> 
> If you are gonna file a bug on PYTHONPATH, you gotta file one on 
> PATH.  Just don't put my name on it.
> 
> And I still feel there is a middle ground here that might work, but it
> is not immediately obvious.

Are you sure we're still talking about the same problem?

At this point it looks very much as though:

1. Our code was accidentally FHS-correct, but not doing what it should,
   which is calling get_python_lib().

2. Fred's patch changed it to do the right thing, call get_python_lib()...

3. ...which unmasked an upstream Python bug breaking FHS conformance.

Does this match your understanding?
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>

My work is funded by the Internet Civil Engineering Institute: https://icei.org
Please visit their site and donate: the civilization you save might be your own.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: not available
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170926/55230f3a/attachment.bin>


More information about the devel mailing list