[issue15048] Manually Installed Python Includes System Wide Paths

2012-06-11 Thread James Kyle

New submission from James Kyle :

This behavior is present on OS X 10.7 and framework builds.

In this case, the /Library/Python/ paths are included in every 
install. 

I would consider this behavior non-standard as in most manual python installs 
only that installations library paths are included.

This can lead to surprising and inconsistent behavior if multiple installs are 
present (very common on osx, e.g. macports + system install).

This originated as a macports bug ticket: https://trac.macports.org/ticket/34763

--
assignee: ronaldoussoren
components: Macintosh
messages: 162648
nosy: James.Kyle, ronaldoussoren
priority: normal
severity: normal
status: open
title: Manually Installed Python Includes System Wide Paths
type: behavior
versions: Python 2.7

___
Python tracker 
<http://bugs.python.org/issue15048>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15048] Manually Installed Python Includes System Wide Paths

2012-06-11 Thread James Kyle

James Kyle  added the comment:

Am I missing something or were the problems delineated in issue #4865 solvable 
by simply sys.path.append("/Library/Python/2.7/site-packages")?

What would the process be for reopening this issue for discussion? 

I'm not sure this is the right way to address this. For example, what if other 
*nix distros started adding their own custom "common" paths, would Python begin 
implemented these distro specific deviations from standard behavior?

In my honest opinion, there's an expectation of package isolation in 
independent python installs.

--

___
Python tracker 
<http://bugs.python.org/issue15048>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15048] Manually Installed Python Includes System Wide Paths

2012-06-11 Thread James Kyle

James Kyle  added the comment:

Fair enough. Thanks!

--

___
Python tracker 
<http://bugs.python.org/issue15048>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15048] Manually Installed Python Includes System Wide Paths

2012-06-12 Thread James Kyle

James Kyle  added the comment:

I think Ned does have some good points regarding the minimal impact a reversion 
would have.

The most poignant point is that /Library/ on OS X is not a user controlled 
directory whereas ~/.local is. If ~/.local exists and has packages installed, 
it's because the user has made a conscious choice. If they regret that choice, 
they can remove ~/.local. 

Every package installed in ~/.local is the result of direct action by the user 
impacted. The same cannot be said for /Library.

--

___
Python tracker 
<http://bugs.python.org/issue15048>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com